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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Preferences

BobLehman2
1-Newbie

Preferences

Does anyone know if there is a way to programatically get the preference settings on a org,site and per user basis?
--Bob

1 REPLY 1

Bob,



You can try to use something like below:



OrgContainer orgContainer = WTContainerHelper.service.getOrgContainer(OrganizationServicesHelper.manager

.getOrganization(SessionHelper.getPrincipal()));



String pref = "DISPLAY_OPTION_FOR_GENERIC ";

String pref = "false";

Boolean temp = (Boolean) PreferenceHelper.service.getValue(pref, PreferenceClient.WINDCHILL_CLIENT_NAME,

orgContainer);





-Abhishek
Announcements

Top Tags