cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

: Preferances retrieval in Windchill 9.0

RavinKayasth
1-Newbie

: Preferances retrieval in Windchill 9.0

Gurus',

I need to retrieve the Preferances stored in the Windchill PDMLink's
Home --> Utilities --> Preferances tab, for Part Management
paramater.(i.e. User specific preferance setting for some paramaters.
e.g. retrieve "Default Part View" setting as shown below)
How can do this?
For e.g. I wanted to retrieve "Default Plant View" setting of "Plant",
as shown below. How can I do this?



Thanks in advance for your help...

Rgds,
Ravin

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com
2 REPLIES 2

PreferencesProcessor.getPreferenceValue("/wt/part",
"DefaultConfigSpecView");


Regards,

Murugesh Dhakshinamoorthy
Associate Consultant

Hi Ravin, You can use PreferenceService methods to get the values of
user preferences.
PreferenceHelper.service.getValue(WTUser user, String definitionName, String
clientName);

For this example,
PreferenceHelper.service.getValue(<user>,"/wt/part/DefaultConfigSpecView",
"WINDCHILL");

Regards,
Prathap <">http://www.linkedin.com/in/prathapyalavarthi>





Top Tags