Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
5 replies
Answers
1 answer
Subscribers
11 subscribers
Views
3434 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
opening a record from a record
gabrielem
over 7 years ago
I am a beginner. I have two entity-backed records (from two CDT's) related each other by id's and I would open one record from the other using a link or a button or something else. How can I do? I thought something like a record tag with toRecordIdentifier function but this works only from news post.
Thanks in advance.
OriginalPostID-250508
Discussion posts and replies are publicly visible
0
Mike Schmitt
Certified Lead Developer
over 7 years ago
I'm not sure if this is what you're really after, but for example on a record dashboard (the page you see after you click into a record list item for record A) you can give a record link to the Record B item which is linked to that particular entry. There are various ways of doing this - in a link field, in a grid, etc. I suggest using the safelink() functionality so that the new record clicked opens in a new tab.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ChristineH
Certified Lead Developer
over 7 years ago
You can also look at urlforrecord()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mognons
A Score Level 2
over 7 years ago
You can easily crosslink one record to another using this code snippet:
a!recordLink(
recordType: cons!OTHER_RECORD_TYPE,
identifier: ID_OF_OTHER_RECORD
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
+1
Shashank
over 7 years ago
@gabrielem ,
Hi I would like to add to the suggestions above by saying that the combination of a!safeLink() and urlforrecord() is a better approach, as it opens the record in a new page instead of the same existing page
Please find the sample snippet below
============
a!safeLink(
label : "Test",
uri : urlforrecord( recordType :
, recordIds :
)
)
==============
Hope This Helps
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 7 years ago
I agree with the above - which is sorta what I was hinting at originally if in less detail.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel