on 05-11-2010 5:04 AM
Hi experts, I am having problems with the "agents" do not work correctly, the scenario is as follows:
1-I created an "agent" custom, "zagent"
2-I created a "parameter" custom, "stylesheet.default.backgroundcolor"
3-I assigned the "parameter" to the agent I have created and assigned the value "
FF0000 (red)
4-I synced, and I see that the agent was discharged into the database in table "M13AGENT" it as you defined previously, but never implemented in the table "CFS_CONFIGURATION"
that I was wrong?
In the transaction "SDOE_WB" everything is green, and the distribution rule in the DOE also
the parameter and value are correct and that if I add the file "configuration.properties" in the "settings" emulator as follows:
stylesheet.default.backgroundcolor = # FF0000
working properly
regards
I do not think you can use "zagent" if you are using it as the Agent ID, you have to keep it CONFIG
The mobile client only recognizes a few special named "Agents" like CONFIG, TRACE, MSK
I believe to get other types of AGENTS, there are additional add-ons to install/assign.
If you needed to group Agent Properties or give meaningful names, I did it through Agent Configurations -
so naming the Agent Configuration ID - SERVER.SETTINGS and it would have the assign the Agent - CONFIG
and the parameter ids - com.sap.tc.mobile.sync.client, com.sap.tc.mobile.host, com.sap.tc.mobile.sync.port, etc...
or Agent Configuration ID - MountainTimeZone and it would have assign the Agent - CONFIG, Parameter id - MobileEngine.Sync.Timezone = America/Phoenix, and other region specific parameters, etc...
so.... in your example
you would use agent configuration id - "zagent"
but the Agent would remain CONFIG, and you assign appropriate parameters
parameter = stylesheet.default.backgroundcolor
value = # FF0000
I have tried assigning StyleSheet properties through Agents, it works.
You might need to restart the client after the client consumes the message from DOE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you please check whether the USER_DETAIL and USER_AUTHORIZATION Dataobjects have been extracted for the device and flowed down to the client or not.
If not , make sure these 2 DO flowed down to the client and then check whether the agent is consumed or not.
Maybe you can restart the client after this to be sure.
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,data objects has data in the data base, I found the following in the trace:
<r id="1273588226444" t="11:30:26" d="2010-05-11" s="I" c="000" u="MY_USER" g="en" m="set NAME = MY_PDA ">
<r id="1273588226445" t="11:30:26" d="2010-05-11" s="D" c="000" u="MY_USER" g="en" m="INSERT INTO CFS_CONFIGURATION VALUES ('NAME','MY_PDA')">
<r id="1273588231518" t="11:30:31" d="2010-05-11" s="D" c="000" u="MY_USER" g="en" m="Found listener for MBO trans - AGENT_CONFIG00132120A5A81DEBBDE3D8B33E471C2E">
<r id="1273588231522" t="11:30:31" d="2010-05-11" s="D" c="000" u="MY_USER" g="en" m="SELECT CFS_TX_ID,CFS_STATUS FROM M13AGENT WHERE SYNCKEY_MMW = '000C2980F1031DDF97A10B49FC80F055'">
<r id="1273588231523" t="11:30:31" d="2010-05-11" s="D" c="000" u="MY_USER" g="en" m="Found listener for MBO trans - AGENT_CONFIG00132120A5A81DEBBDE3D8B33E471C2E">
<r id="1273588231524" t="11:30:31" d="2010-05-11" s="D" c="000" u="MY_USER" g="en" m="Reading agent config instance">
<r id="1273588231525" t="11:30:31" d="2010-05-11" s="P" c="000" u="MY_USER" g="en" m="Processing agent ZMC_AGENT_CUSTOM_ID, key stylesheet.default.backgroundcolor = #FF0000, set: true, get: false">
<r id="1273588231526" t="11:30:31" d="2010-05-11" s="E" c="000" u="MY_USER" g="en" m="Agent ZMC_AGENT_CUSTOM_ID cannot be found!">
<r id="1273588231527" t="11:30:31" d="2010-05-11" s="D" c="000" u="MY_USER" g="en" m="INSERT INTO 'M13AGENT' ('AGENT_ID', 'DEVICEID', 'PARAMETER_ID', 'PARAMETER_VALUE', 'PROCESS_AUTO', 'SET_PARAMETER', 'SYNCKEY_MMW', CFS_STATUS) VALUES ('ZMC_AGENT_CUSTOM_ID', '000C2980F1031DDF97A10010B9339055', 'stylesheet.default.backgroundcolor', '#FF0000', 'X', 1, '000C2980F1031DDF97A10B49FC80F055', 0)">
regards
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.