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
4 replies
Answers
3 answers
Subscribers
11 subscribers
Views
6831 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
urlForRecord function for Sites
hiteshd
Certified Lead Developer
over 8 years ago
Hi All,
urlForRecord function can be used to navigate to a record dashboard directly by passing the recordID. Do we have something similar for records which are part of Sites. For example, I want to divert a user from an external portal to a specific record dashboard on Appian site once authentication is done.
Thanks.
Hitesh
OriginalPostID-251745
Discussion posts and replies are publicly visible
Parents
+1
Abhishek Gaddam
over 7 years ago
I know this an old post but I encountered the issue recently and this expression have worked for me
{
a!safeLink(
label: "",
uri: fn!substitute(
fn!urlforrecord(
recordtype: <your record>,
recordIds: <recordid>
),
rule!APN_getSiteUrl()& "tempo/records/item/",
rule!APN_getSiteUrl() & "sites/<site name>/page/program-dashboard/record/"
)
)
}
using this expression in record link solved my problem as it allows the summary view to open in a new window preserving my filters selected in the current window.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
+1
Abhishek Gaddam
over 7 years ago
I know this an old post but I encountered the issue recently and this expression have worked for me
{
a!safeLink(
label: "",
uri: fn!substitute(
fn!urlforrecord(
recordtype: <your record>,
recordIds: <recordid>
),
rule!APN_getSiteUrl()& "tempo/records/item/",
rule!APN_getSiteUrl() & "sites/<site name>/page/program-dashboard/record/"
)
)
}
using this expression in record link solved my problem as it allows the summary view to open in a new window preserving my filters selected in the current window.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data