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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Preferences

BobLehman2
12-Amethyst

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