Hello



Creatio by default allows a user to choose between 50, 250 and 500 as max lengths of a Text column from the Object designer. We have a use case where we have to set a specific max length for a field Eg Text (80 charecters). Find below a few questions in this regard 

1. Is there a way to set this custom max length for that object from the Creatio GUI?

2. If #1 is not possible, Can this be set directly at the database/data model layer? If Yes, How? Also, will such a limit automatically bubble upward to the UI? ie If the field is set to 80 charectars and an input field is linked to it, Does a validation of max 80 charectars on the UI automatically apply?

3. The following link provides guidelines on how to custom implement an input validation on the UI. Will such a validation also work on Creatio Mobile?

Like 0

Like

4 comments

Hello. Would really appreciate some help on this question

M Shrikanth,

 

1. There is no way to set the custom max length for a field from the Creatio GUI.

 

2. It's possible to set the custom max length for a field via development by creating a field validator. Please find the examples in the article on Academy:

https://academy.creatio.com/documents/technic-sdk/7-15/how-add-field-validation?_ga=2.27542716.1082264901.1584023961-1276886288.1584023961

 

3. The validation functionality must be developed in the mobile application separately. You need to create a custom business rule in the mobile for that. The guidelines can be found in the article on Academy:

https://academy.creatio.com/documents/technic-sdkmob/7-15/custom-business-rules-mobile-application

Hello

Creatio by default allows a user to choose between 50, 250 and 500 as max lengths of a Text column from the Object designer.

1. Is there a way to set this custom max length for that object from the Freedom UI?

Ahamed Rizlan,

 

Hello,

 

On the object level it's not possible however field validator can be used on the page where the field is added to ensure the value has a specific length and prevent saving when the field length is greater than some value. Here is an article regarding field validators in Freedom UI.

Show all comments