cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Android client branding - changing texts in login screen

Former Member
0 Kudos

Hi Experts,

Is it possible to change the text displayed in login screen (login.xml) of Work Manager app, for example the texts like (in android)

  • Welcome to Agentry Client
  • Enter your Agentry User Id (so on..)

I saw this link https://archive.sap.com/discussions/thread/3690317 where it talks about changing texts with branding.plist, is there anything similar to this in android.

Things I have tried so far

1. Since most of the texts are read from strings.xml, I tried adding below line to strings.xml, where name parameter is derived from ClientText.ini file (dint work)

    <string name="AG3_LOGIN_USERID_HINT">User id hint from strings.xml</string>

2. Since string names (or codes) are derived based on there number in ClientText.ini as per this link, I added one more string with name String_540, where 540 is the number for AG3_LOGIN_USERID_HINT string in ClientText.ini file (dint work)

<stringname="String_540">User id hint from 540</string>

3. Since server_name property is maintained in AgentryClient.properties, I tried maintaining above strings in AgentryClient.properties file without any luck


AG3_LOGIN_USERID_HINT= User id hint from AgentryClient.proerties

String_540= 540 User id hint from AgentryClient.proerties

Could you please tell me where can we maintain text in android ? which would be similar to branding.plist in iOS.

Client framework is - 70.12.3

Thanks for the reply in advance.

bill.froelich

Regards,

Vijay.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member265714
Participant

Hi Vijay,

There are certain strings that you cannot brand in the client because it is a part of the Agentry code. Another way you can try is to create override files when you publish in your Agentry Editor.

Change the ClientText.ini files with the login names that you require . Please make sure to publish as unencrypted Agentry.db file and brand the Agentry.db into your application as per the KB article.

Thanks

Subash Narayan

SAP Support Engineer

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Any value that can be modified by ClientText.ini should be brandable in the client without using a bundled database. For Android you should look at modifying the the strings.xml file in the AgentryAndroidClientResources project > res > values folder. There are also values-xx folders for other languages as well.

If the text cannot be changed in ClientText.ini it should be assumed to be non-changeable.

--Bill

Former Member
0 Kudos

Hi Subhash,

We are able to change texts after initial sync, by changing ClientText.in file , however, user will see default texts for the first time, before sync, which we wanted to avoid. Changing login text is possible in iOS, so I assume it should be possible in android too. Doing some research around this.

Packaging Agentry.db file in apk is one way to go (with required branding), I will publish my findings here.

Regards,

Vijay.

Former Member
0 Kudos

HI Subash,

Thanks for the quick reply, I had gone through the doc you mentioned which says you can change application strings by modifying string.xml . But in that document there is no mention of how we can mention the string name, I tied multiple things as follows without any luck

  • Tried adding a new string with name “AG3_LOGIN_OKBUTTON” to change OK button text, as follows (din’t work)

    <string name="AG3_LOGIN_OKBUTTON">Login_AG3</string>

  • Tried adding a new string with name “String_6156” to change OK button text, as follows (din’t work). Where 6156 is a number derived from ClientStringNames.ini

    <string name="String_6156">Login</string>

Could you please let us know how can we add the new string parameter in string.xml?

Regards,

Vijay.

former_member265714
Participant
0 Kudos

Hi Vijay,

Please take a look at the following KB :1932043 - Agentry Android clients branding for versions 6.0.32 , Agentry 6.1.2 , Agentry 7.0 and hig...

There a section in the document about changing text in the document