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.
VS 2013 C#
Solved! Go to Solution.
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.
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.
This can be achieved as shown in the sample code below:
g_msc is the modelservicesclient object.
lineItem is the rsLineItem object.
Thanks to Trent from Siemens PLM for sharing this tip.