Cannot set column 'Tag'. The value violates the MaxLength limit of this column

Context: You are using Locals in your configuration and you are trying to translate a string greater than 255 characters.

This won’t come up very often.  Most of our translatable string are limited to 255 characters or less.  Customers have encountered this limitation when making their own about screens with a single text control containing pages of text, or the Terms of Service. The workaround is described below this will be fixed in a later version of our software.

 Cause:

1. Create a text control with a lot of static text as its default value.

Steps 1.a through 1.d., are the steps to create a local translation string that exceeded 255 characters.

                1.a. (Optional) Save. This works fine.

                1.b. (Optional) Provide translated values.

                1.c. (Optional) Save fails because your string is too long.

 error.png

Work Around:

                1.d. (Optional) Quit app studio and re-launch to get rid of your bad translation.

2. Copy your long text to a safe place, like a text file or the clip board.

3. Change its value to a unique text readable ID, similar to a resource ID.  For this example we shall use "R.MYSTRINGID"

4. Go to locale text translations in AS

6. Find the row with the Default Value R. MYSTRINGID

7. Copy the text you saved in Step 2 into the Default Value.

8. Provide the translations that you tried to enter in Step 1.b.

9. Save. It works!

Note: You will still see R.MYSTRINGID as the property’s text until you quit and re-launch AS, or change the selected locale under tools.  After you do one of those you will only see R.MYSTRINGID if you go to the localization text translations grid and use the Column Chooser to show the “Tag” column.

 

 

AppProperty

Description Header Text

unlimited

AppProperty

Numeric association screen quantity column name

unlimited

AppProperty

Lit Order limit warning message

unlimited

AppProperty

About Header Message

unlimited

AppProperty

About Footer Message

unlimited

AppProperty

Copyright Message

unlimited

AppProperty

Dashboard Header Message

unlimited

AppProperty

Login Message

unlimited

AppProperty

Force Client Logout Text

unlimited

AppProperty

Default Waiting Text

unlimited

AppProperty

Default Queue Upload Text

unlimited

AppProperty

Default Confirm Text

unlimited

AppProperty

Default Success Text

unlimited

AppProperty

Default Empty Data Text

unlimited

AppProperty

Default GPS Wait Message

unlimited

AppProperty

Default GPS Error Message

unlimited

AppProperty

Default Error Text

unlimited

AppProperty

Default Save Prompt Text

unlimited

AppProperty

Snapshot Notification Message

unlimited

AppProperty

Default Upload File Text

unlimited

App

VersionDetectionDisplayText

unlimited

Entity

DisplayName

50

Entity

PluralEntityName

50

Control

CallActivityPrefill

50

Control

EmailActivityPrefill

50

Control

HintText

255

Control

Label

255

Control

Default Value

unlimited

GraphicalMenuItem

MenuItemAlias

50

MenuItem

MenuItemAlias

50

Screen

GroupListLabel

50

Screen

MenuAlias

255

Screen

QuickFindLabel

50

Screen

ViewListLabel

50

View

ConfirmText

255

View

DisplayName

255

View

EmptyDataText

200

View

ErrorText

255

View

GpsErrorMessage

255

View

GpsWaitMessage

255

View

QueueUploadText

255

View

SavePromptText

255

View

ShortName

50

View

SuccessText

255

View

WaitingText

255

ViewGroup

GroupName

200

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk