on 10-26-2016 5:10 PM
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)
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
<string name="AG3_LOGIN_OKBUTTON">Login_AG3</string>
<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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.