Skip to Content
avatar image
Former Member

Branding changes with Agentry iOS Client

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 03, 2015 at 05:25 PM

    Aaron,

    The Branding.plist file provides the same overrides that you can perform with the ClientText.ini.  The format of the two files is different but the result is the same, overriding the displayed strings.  Keep in mind that the ClientText.ini contents will override anything you configure in the Branding.plist. 

    The reason you would use Branding.plist is if you wanted to configure some of the strings so they applied the first time the client is executed before the definitions are downloaded from the server at which time the ClientText.ini changes would apply.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded