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
+2
person also asked this
people also asked this
Replies
16 replies
Answers
2 answers
Subscribers
10 subscribers
Views
13159 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
expression to get the environmental URL
garethm
over 7 years ago
Hiya all,
Is there an expression that can be used to the the base URL for the environment - the xx.yy.com/suite part?
TIA,
Gareth
OriginalPostID-259636
Discussion posts and replies are publicly visible
Top Replies
Ram
over 7 years ago
+1
Certified Lead Developer
Hi Gareth, rule!APN_getSiteUrl() might solve your problem. Hope this helps
Puspendu Pal
over 7 years ago
+1
If you dont want to use the deprecated method, you may try to get the base URL(xx.yy.com) using urlforrecord as follows: with( local!anyURL: urlforrecord( recordType: ri!recordType, identifier: ri!recordIdentifier…
Navin Reddy
over 2 years ago
+1
suggested
Certified Lead Developer
regexfirstmatch("https://[a-z]+\.[a-z]+\.[a-z]+",a!urlfortask(0))
Parents
0
Tim
Certified Lead Developer
over 7 years ago
Hi Gareth! You consider having an application that contains constants to store these values and then deploying and modifying per instance for your environments. These can be very useful for things such as dynamic WSDLs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tim
Certified Lead Developer
over 7 years ago
Hi Gareth! You consider having an application that contains constants to store these values and then deploying and modifying per instance for your environments. These can be very useful for things such as dynamic WSDLs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data