Skip to Content
0
Former Member
Feb 03, 2015 at 12:50 PM

Branding changes with Agentry iOS Client

58 Views

Hi everyone,

I am following the document which describes 'Branding iOS with AgentryClient Framework'.

http://help.sap.com/saphelp_smp305sdk/helpdata/en/fb/b9ac8c3ce34453902ef4abf3d0280c/content.htm

Basically below changes the agentry client could branding:

1. iOS Resources, like App name and icons

2. Agentry Resources, we can replace some images with same name and size

3. Agentry String, I have question here.

as described, in order to make string changes, the customer just needs to add a file to the main bundle of their app called Branding.plist. This file should have a all the required strings in a dictionary with the format:

<key>String_n</key>

<string>New text</string>

where N is the number of the resource string in the Agentry string resources file, ClientText.ini. For example, the following Branding.plist file changes string 6155 (the Login Dialog Caption) from "Welcome to Agentry" to "Fun with Branded Apps":

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>String_6155</key>

<string>Fun with Branded Apps</string>

</dict>

</plist>

as I know the ClientText.ini should be in the Agentry server folder, but below ClientText.ini found from Sybase website is not similar as described above.

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01994.0302/doc/html/smc1373385347132.html

It says:

The ClientText.ini file contains display values that are part of every Agentry client, regardless of the application.

This is an example of the contents of theClientText.iniandClientTextBase.inifiles.

[Strings]

AG3_ABOUT_BMP_FILE=about.bmp

AG3_ABOUT_DIALOG_TEXT=About %1

AG3_ABOUT_MENU=&About %1...

AG3_ABOUT_TXT=about.txt

AG3_ABOUT_NAME=Agentry Client

AG3_ABOUT_OK=OK

So I am confused for now, can anybody give me a sample of the content of ClientText.ini file? what is the branding process between Agentry Client (for iOS) and ClientText.ini in server? I assume the client will load some file like 'Branding.plist' and have replacement with key validation.

The ClientText.ini will be used for language localization, what if server don't have any implementation in it, how the client will communicate?

Thanks in advance for any reply!