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
3900 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is there a way to get the Base URL automatically? I am building an in
bduff
over 11 years ago
Is there a way to get the Base URL automatically?
I am building an intuitive URL for an email that is sent to customer. This email link the customer to the process dashboard.
As of now, I am using an expression to create the URL based on the process ID. However I must hardcode the Base URL (https://<host.name>) in expression since the URL will be accessed outside of the browser and I can not use a relative URL
...
OriginalPostID-80558
OriginalPostID-80558
Discussion posts and replies are publicly visible
0
Steven Miccile
Appian Employee
over 11 years ago
The common objects application has a rule called APN_getSiteUrl() that you can take a look at
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bduff
over 11 years ago
steven.miccile I'm running on 6.7. I noticed that the Common Objects Application was for 7.2. Is there anything that can be a work around in 6.7
Sorry I didn't specify this in the original post
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Steven Miccile
Appian Employee
over 11 years ago
The rule definition is: extract(linktodocument(0, "doc"), """", "doc/")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bduff
over 11 years ago
Thanks!! Works perfectly!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel