Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 3
Registered: ‎12-06-2011
My Device: 9550
My Carrier: T

Query IT Policy Settings

Hi,

 

I have a requirement where i need to use IT Policy configurations. I tried using ITPolicy.get* methods, but unable to get any results as most of the methods require policy group id or parameter id.

Where can i refer these policy group keys or ids? does anyone any example to use ITPolicy api.

 

Thanks in advance.

 

Developer
Posts: 16,998
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Query IT Policy Settings

welcome to the support forums.

the ItPolicy.get methods can be used to retrieve custom it policy items.
We use them for application settings that are the same for all users, like a server address.

as far as the other methods are concerned, i did never use them and never saw something about how to use them. maybe you can ask your besadmin about some keys/ids?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
New Contributor
Posts: 3
Registered: ‎12-06-2011
My Device: 9550
My Carrier: T

Re: Query IT Policy Settings

Thanks Simon.

 

Is there anyway that i can check existing ITPolicy keys/ids?