cancel
Showing results for 
Search instead for 
Did you mean: 

Mi 7.1 "Agents" configuration problem

asdasd_asdasd
Active Participant
0 Kudos

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 "

  1. 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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

asdasd_asdasd
Active Participant
0 Kudos

thank you very much Alan Cheun !

Answers (1)

Answers (1)

Former Member
0 Kudos

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

asdasd_asdasd
Active Participant
0 Kudos

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 (&apos;NAME&apos;,&apos;MY_PDA&apos;)">

<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 = &apos;000C2980F1031DDF97A10B49FC80F055&apos;">

<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 &apos;M13AGENT&apos; (&apos;AGENT_ID&apos;, &apos;DEVICEID&apos;, &apos;PARAMETER_ID&apos;, &apos;PARAMETER_VALUE&apos;, &apos;PROCESS_AUTO&apos;, &apos;SET_PARAMETER&apos;, &apos;SYNCKEY_MMW&apos;, CFS_STATUS) VALUES (&apos;ZMC_AGENT_CUSTOM_ID&apos;, &apos;000C2980F1031DDF97A10010B9339055&apos;, &apos;stylesheet.default.backgroundcolor&apos;, &apos;#FF0000&apos;, &apos;X&apos;, 1, &apos;000C2980F1031DDF97A10B49FC80F055&apos;, 0)">

regards