Anyone seen SDF for a custom list XML definition c...
# sdf
s
Anyone seen SDF for a custom list XML definition contain embedded &quote inside a list abbreviation? That is causing me to have 'exceeded max 15 characters' errors trying to deploy that list. In the actual list
&quote;
is only one character of course:
"
. What was the remedy? I mean, this is SDF creating the XML file that is unusable? <abbreviation>2&quot; x 5 yds.</abbreviation> <isinactive>F</isinactive> <value>2&quot; x 5 yds.</value> </customvalue>
I presume I can manually search/replace to remove these escaped characters but what the heck?
e
Yikes, annoying
n
I would advise double checking the list once you deploy it if moving between SB/Prod or between accounts. I've found NS seems to re-order the list and creates it with the wrong internal ids compared to sandbox. It also sometimes creates them as 101, 201, 301 etc...
🤡 1
s
I'm finding other escaped characters in one list, which again push it over the 15 character limit. 😞 @NElliott you're saying lists in general are potentially risky to move (i.e. your comment isn't particular to errors with XML escaped characters)?
n
Yeah correct.
I've also had that change to ampersand but in script names it's horrible.
s
Bummer. I've done some list deployments and never seen it mismatch on internal ids
n
It's entirely possible it's fixed (internal ids) but I'm wary of the issue having had my fingers burnt with them in the past, just a heads up.
s
Indeed. If we can't rely on SDF to reliably create exactly the same customization on the target environment it's somewhat worthless
c
i haven't seen the ids get created in a different order yet. I know in JS you are never guaranteed object property order so maybe something weird happened. Its java in the background I believe so maybe it was a bug there.