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
4515 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
document link
eliav
over 8 years ago
Hi All,
how can I mask http address of an Appian document?
I am using an image as icon
a!imageField(
images: {
a!webImage(
source: "
appiantest.pirelli.com/.../34128
label: "PDF",
link: a!safeLink(
label: "download pdf",
uri: "
psrsapp020-01it/ReportServer
& local!selectedId & "&rs:Format=PDF"
)
)
}
)
But whe I change the envionment, to production environment, I lose document URI
How can I mask its uri and use for example a constant to refer to it
Thanks
Elia
OriginalPostID-258953
Discussion posts and replies are publicly visible
Parents
0
Raviteja Varma Jampana
A Score Level 2
over 8 years ago
If you dont have Common objects you can build a rule to get environment link. Just copy and paste below code into an expression it will always returns your environment url
fn!trim(substitute(fn!extract(fn!linktodocument(0),char(34),char(34))[1],"/suite/doc/0"," ",0))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Raviteja Varma Jampana
A Score Level 2
over 8 years ago
If you dont have Common objects you can build a rule to get environment link. Just copy and paste below code into an expression it will always returns your environment url
fn!trim(substitute(fn!extract(fn!linktodocument(0),char(34),char(34))[1],"/suite/doc/0"," ",0))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data