Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution
Highlighted

API - appName on rsLineItem is always null.

Hi Experts,

 

I am using ModelServices and am able to access the Projects and LineItems. However the appName on the LineItem is null for all cases. If you use the UI (Thin or Thick Client) the Properties does display the Application name. How do I obtain the same via the API.

 

RS 8.12.0

VS 2013 C#

 

Thanks,

-Thilak Rao

4 REPLIES

Re: API - appName on rsLineItem is always null.

Good afternoon, Thilak.
May be this is not right place to ask this question, but based on your topic it seems that you can help me.
Is there any possibility to filter project/line items based on the user. For example, one user would like to see only the project from certain customer, another user would like to see only projects which were created less than 3 month ago, etc.

 

Thanks

 

Kirill

Re: API - appName on rsLineItem is always null.

Hi Kirill,

 

Please let me know if there is a different forum for Rulestream API questions.

 

Your question is to the point and does not describe your enivornment or what is at your disposal. So here are

a few things:

1. From API - Yes you can do this if you are using ModelServices. It might also be possible with the Thick client but haven't looked at it much.

2. Out of the box functionality of Rulestream on desktop - The current UI has not provided such functionality so you can't do much other than sorting them by the columns.

 

Thanks,

-Thilak Rao

Re: API - appName on rsLineItem is always null.

Thanks for the info, Thilak !

Solution
Solution
Accepted by topic author EI_ThilakRao
‎12-05-2016 04:04 PM

Re: API - appName on rsLineItem is always null.

This can be achieved as shown in the sample code below:

g_msc.GetPartDesign(lineItem.partFamilyID).appDisplayName

 

where

g_msc is the modelservicesclient object.

lineItem is the rsLineItem object.

 

Thanks to Trent from Siemens PLM for sharing this tip.

 

Thanks,

-Thilak Rao