Question
Murex
LB
Last activity: 21 Feb 2023 2:28 EST
PYLABEL property increase MAX LENGTH to 128
Hello,
I'm trying to save pyLabel property to an object class: XXX-XX-Work-SA and increasing the size of the property to 128.
I increased the column in the database table to 256, I saved the instance of the table in pega, saved the class and also tested the connection but none of the above is working and I'm still getting the below error message and the length reverts back to 64:
Any Idea on how to increase the pyLabel only for a specific class?
Thanks,
Joseph
***Edited by Moderator Marissa to update platform capability tags****
-
Like (0)
Rida Tami -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 10 Jun 2021 15:25 EDT
Pegasystems Inc.
US
Hi @JosephA9,
I landed into the same issue and was able to resolve this via the below steps.
1) Do a save as of the Property from PegaProcom:07-10-01 to your application ruleset.
2) Remove the Max length and expected length(i.e. make them blank) and check-in.
3) Checkout again and make the max length as 128(or whatever max length you want to make) and check-in.
This steps should be executed in the same order as it is mentioned.
Optum
IN
Hi,
A label in a layout cell on a user form (pyLabel property) is limited to 64 character maximum. Use a paragraph rule (Rule-HTML-Paragraph rule type) to present longer read-only text in the cell.
Thanks
Murex
LB
Hello @Srinivas21,
I need to use the pyLabel property, I need a workaround for one class so the property can hold up to 128 char.
Any idea on how to customize the pyLabel on only one class?
Thanks,
Pegasystems Inc.
US
Please refer to the below link.
Murex
LB
Hello @Rachit_Agarwal,
The above link shows that the limit of the label is 64, is there any way to customize it so It can hold up to 128 characters?
Thanks,
Pegasystems Inc.
US
pyLabel in @baseclass and work- Class has limitation of max 64 character length.
I did a search. One customer was working on Pega Knowledge 7.4 and had the similar issue. The local change they applied was to do the following two steps:
1. Create pyLabel property on Assign-WorkBasket class and a custom work class.
2. Leave max length option empty.
pyLabel in @baseclass and work- Class has limitation of max 64 character length.
I did a search. One customer was working on Pega Knowledge 7.4 and had the similar issue. The local change they applied was to do the following two steps:
1. Create pyLabel property on Assign-WorkBasket class and a custom work class.
2. Leave max length option empty.
Pegasystems Inc.
US
Hi JosephA9,
Here are the more detailed steps from the local-change: (please check if you followed them)
1) Save as pylabel from @baseclass to the specific class where you are using it.
2) Change the max length property and save it.
3) Go to Database table corresponding to that class and change the column length of the pylabel column using alter commands.
4) Open the corresponding datatable instance in designer studio and do a test connection. After that just save the rule.(This is the key step to regenerate the entry code of the property which contains information regarding the max length validation)
5) Now revalidate and save any activities or data transforms which refer to this property.
Murex
LB
Hello @SusanLiu,
I did the above and the system keeps reverting the max length to 64 throwing an error of:
- Saved the pyLabel from baseclass to the specific class
- I created PYLABEL column in the db table of the class with a type of VARCHAR2 256
- I mapped in the class the property .pyLable to the Column.
- I saved the table after the check connection of the class
- I tried to change the length and I had the same result
Any Idea on what to do?
Thanks,
Joseph
NCS Pte Ltd
SG
@JosephAzar The below steps were worked for me.
1. Alter the table column size to the required size.
2. Save the Database table mapping rule of the specific class.
3. Remove the respective column mapping from the respective class mapping .
4. update the Max length in the property.
5. Add again column mapping in the Class external mapping
6. Save the class
Accepted Solution
Updated: 10 Jun 2021 15:25 EDT
Pegasystems Inc.
US
Hi @JosephA9,
I landed into the same issue and was able to resolve this via the below steps.
1) Do a save as of the Property from PegaProcom:07-10-01 to your application ruleset.
2) Remove the Max length and expected length(i.e. make them blank) and check-in.
3) Checkout again and make the max length as 128(or whatever max length you want to make) and check-in.
This steps should be executed in the same order as it is mentioned.
-
Naga Kamala Devi Priya Mukkamala Manish kumar Raghavender Reddy Lankapothu Albert Dsouza Varadhapriya S and 1 More
Swedbank
SE
@Rachit_Agarwal This solution worked for me.. thank you!
Pegasystems Inc.
IN
Hi,
Please refer the following link: