Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
2036 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
#Records Does anyone know how to access CDT attributes on records (They appear a
arpitg
over 11 years ago
#Records Does anyone know how to access CDT attributes on records (They appear as pv!Result.@attributes.Name for example in the designer interface). We cannot access these attributes on records on the record dashboard....
OriginalPostID-69198
OriginalPostID-69198
Discussion posts and replies are publicly visible
0
saram
over 11 years ago
Use rf!CDT.field, for example rf!Employees.name. Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
arpitg
over 11 years ago
Hi Saram, CDTs have elements (i.e. Employee.name) but also attributes (i.e. Employee.@attribute.name). The second option does not seem to work for records.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
siddharthg521
over 11 years ago
Hi Arpit. Yes If your CDT has multiple complexx types then simply using dot operator won't fetch you data on record dashboard. For that purpose, you need to use with operator in your UI dashboard expression while creating records. For instance there is a field employee whose type is person, then use with(a:rf!CDT.Employee.name,a) in value. That will bring your cdt data to dashboard. Hope that helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike
over 11 years ago
A simple related question - what is the correct syntax for the =rule!APN_uiRecordDashboardOneColumn(contents)? In other words, if I have a CDT of test.name, what syntax is used for contents? I am trying to drill from an entity backed record into a record dashboard using the OOB components and am trying to gain an understanding of format....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel