After saving an interface or expression rule, references to some system rules such as a!queryEntity() and a!dashboardLayout() revert to older versions, like a!queryEntity_18r3() and a!dashboardLayout_17r1(). For example, the following SAIL code:
a!queryEntity()
a!dashboardLayout()
a!queryEntity_18r3()
a!dashboardLayout_17r1()
with( local!myCdt: 'type!{urn:com:appian:type:ESRR}MyCDT'(), local!data: a!queryEntity( entity: cons!consToDS, query: a!query( pagingInfo: a!pagingInfo(1,-1) ) ), a!dashboardLayout( contents: a!textField( value: "abc" ) ))
Would appear after saving as:
with( local!myCdt: 'type!{urn:com:appian:type:ESRR}MyCDT'(), local!data: a!queryEntity_18r3( entity: cons!consToDS, query: a!query( pagingInfo: a!pagingInfo(1,-1) ) ), a!dashboardLayout_17r1( contents: a!textField( value: "abc" ) ))
This issue occurs when the SAIL code contains an invalid data type, meaning the wrong name or namespace is specified in the code. In the example code above, the namespace is written as {urn:com:appian:type:ESRR}, rather than {urn:com:appian:types:ESRR}.
{urn:com:appian:type:ESRR}
{urn:com:appian:types:ESRR}
This issue has been reported to the Appian Product Team. The reference number for this issue is AN-129712.
To resolve the issue, take the following steps:
_1*r*
This article applies to Appian 19.1 and later.
Last Reviewed: February 2024