Tip: "The maximum number of characters allowed for Key 3 is 50" Epicor Save Layouts Issue fix

Hello,

I ran into an Epicor ERP 11 (probably 10+) bug that I tried to deal with over the last few days. Users received the error “The maximum number of characters allowed for Key 3 is 50” when trying to save their personalizations or layouts on a customized form. It turns out that even though Epicor allows you to give your customizations a long name, it will throw an error later when users try to save their layouts/personalizations.
The table “XXXDef” has a field named “Key3” which stores the path to the personalization has a maximum length of 50 characters. When trying to save your personalizations, the auto generated name pushes the content of this field over the limit and errors.

For example,
I had a “Purchase Advisor” customization named “2023_10_05_PurchaseAdvisorEntryForm_v1”, which is a fairly standard name I give to stay organised. However, when users saved their personalizations they received this error and it was starting to make me doubt if I could apply my customization at all.
I customized the form and created a new one with the name “2023_10_05_PAEntry_v1” and now it works without issues.

Just thought I’d drop this here in case someone runs into this issue.
Credit to this topic.

Good tip! It’s definitely there on 10.2.700, I ran into this when we had to add a Base Extension to some of our customizations.

1 Like

Did y’all report it?

Didn’t dream of it. Does it help?
I’ll report it.

Inconsistencies in design are always bugs, so yes they should be reported.

Noted. Support got back to me and apparently it was fixed in 2022.2, XXXDef.Key3 is now set to x(100).