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
12 replies
Subscribers
7 subscribers
Views
4720 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, Can we format the data which is displayed in gridTextColumn.
deepanc712
over 10 years ago
Hi,
Can we format the data which is displayed in gridTextColumn.
data:index(local!displaydatasubset.data,"emailaddress",{}) .
From the above code I'd like to fetch the user first name and display on the grid column.
Suggestions appreciated.
Thanks....
OriginalPostID-135856
OriginalPostID-135856
Discussion posts and replies are publicly visible
Parents
0
bharathc
over 10 years ago
Hi deepanc,
Instead of passing index(local!displaydatasubset.data,"emailaddress",{}) to data attribute of gridTextColoumn.
you can make one rule with the following code and pass that to data attribute.
load(
local!data1:apply(getusersby(_,3,1),ri!emailaddress),
local!result:apply(user(_,"firstName"),local!data1),
local!result
)
And pass index(local!displaydatasubset.data,"emailaddress",{}) as input to that rule. then it returns the first names of users. make sure that input parameter in that rule is multiple type.
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
bharathc
over 10 years ago
Hi deepanc,
Instead of passing index(local!displaydatasubset.data,"emailaddress",{}) to data attribute of gridTextColoumn.
you can make one rule with the following code and pass that to data attribute.
load(
local!data1:apply(getusersby(_,3,1),ri!emailaddress),
local!result:apply(user(_,"firstName"),local!data1),
local!result
)
And pass index(local!displaydatasubset.data,"emailaddress",{}) as input to that rule. then it returns the first names of users. make sure that input parameter in that rule is multiple type.
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data