Symptom
You want restrict field length for the custom field you are creating through Extensibility.
Environment
- Service Cloud Version 2
- Sales Cloud Version 2
Reproducing the Issue
- Navigate to your user profile on the top-right corner of your screen, and from the dropdown list select Settings -> All settings-> General and click Extensibility Administration
- Select a service and click the Drill Down icon (+) to open and select an entity you want to check, and select it.
- Go to Custom Fields tab and create a custom field
- While you are creating a custom field , you need to fill the "Fill length" with the legth you wish to define a field. Field length should be the maximum length of the field you want a field to define with.
Cause
The Field length is a property to restrict maximum length applicable for a field.
Example you want to restrict length to 15 for a String type field FirstName. In this case if any value is passed more than 15 characters for FirstName from UI / API an error would be populated.
Resolution
You can define the field length property only for string and number.
Keywords
KBA , CEC-CRM-CZM-EXT , Extensibility for SAP Sales/Service Cloud , Problem
Product
SAP Sales Cloud and SAP Service Cloud Version 2 1.0