on 08-23-2010 11:16 PM
Hi everybody,
I need read a configurable parameter, hopefully from RMM or an agent.
The idea is know the value of this parameter thru code in the application, while this one be configurable from mobile server.
While a Data Object can supply this requirement, implies build an interface to modify the parameter in the Server. However if is possible use a RMM attribute or an agent paramenter, another development is no necessary.
Well, if anybody have an idea, I really would appreciate any information. I'm developing a handheld application in Mobile 7.1 with OCA.
Best regards,
Simon.
Hi Simon,
You can create a CONFIG agent with the desired key and value and assign the config agent to the device.
The agent will be downloaded and saved in configuration table the next time the client syncs.
You can then use Congifuration API to get the key value.
I hope this helps.
Best Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
I found information about the Configuration class, but is part of API of Mobile for Laptops. Anyway I tried to use (I added the library into my project, like a dependence DC) but when I want obtain the instance thru getInstance method, this require a Session object and that is not part of Mobile for Handheld API...
Is the right way add the library to the project and use that class to obtain agent CONFIG properties? Or exist another class or manner to do this?
Thanks a lot.
Best regards,
Simon
Hello Simon,
I have the same problem.
Best Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.