Whenever theres's a CDT not found in the namespace it has been given, appian reverts its components to the previous version automatically:- CDT with propper namespacing
- CDT without propper namespacing (notice the upper case PEOPLEFUNCTION at line 2 and the alert the interface is showing already)
- When we save the file, then the code changes the components to the previous version (notice richTextItem_18r1 at line 7):
This behavior works with Buttons and RichTextItems as far as we found it
CODE for replicating it
a!localVariables( local!a: 'type!{urn:appian:ps:PEOPLEFUNCTION}SecurityRoleMap'(), { a!richTextDisplayField( labelPosition: "COLLAPSED", value: { a!richTextItem( text: "Some text", color: "ACCENT", size: "MEDIUM_PLUS", style: "STRONG" ) } ) } )
Special thanks to: Danilo Vendramini , adrram0s , Andre Pombo
Discussion posts and replies are publicly visible
Did you open a support case to report this behaviour?
Nope, don't have access to do it and it's difficult in the hierarquy I'm in rn. So, I've put it here to not lose the finding.
Peter Lewis , can you help us with this?
Sorry for the delay, but I did create a support case to track this. Thanks for reporting!
Also just to follow up - this is a known issue and there is an existing knowledge base article for this issue: community.appian.com/.../kb-1917-system-rule-references-revert-to-deprecated-versions-of-system-rules