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
5 replies
Subscribers
5 subscribers
Views
1825 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I have a servlet plugin with URL Pattern "/tasklist". How do I combine
mayankk718
over 8 years ago
I have a servlet plugin with URL Pattern "/tasklist". How do I combine it with my Appian cloud URL to get the result returned by my servlet ?
OriginalPostID-195764
OriginalPostID-195764
Discussion posts and replies are publicly visible
0
Mangesh Vidhale
A Score Level 2
over 8 years ago
@mayank, have you tried using the Appian common object by name e.g. 'APN_getSiteUrl'?. Appending your required URL to the output of this rule may work for you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
Hi Mangesh,
How should I use it ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mangesh Vidhale
A Score Level 2
over 8 years ago
If you don't have this common object, the definition of APN_getSiteUrl is as follows:
extract(linktodocument(0, "doc"), """", "doc/")
This rule will give you site URL for e.g. http://<hostname>:8080/suite/
then combine your servlet URL with it. Hope this will works for you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
I tries it, but after combining my site url with the above mentioned URL pattern, I am getting "Error 403 - Forbidden".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
I tried it, but after combining my site url with the above mentioned URL pattern, I am getting "Error 403 - Forbidden".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel