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
8 subscribers
Views
1455 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
We have a process where a user is presented with a form to request work to be pe
helmuta
over 10 years ago
We have a process where a user is presented with a form to request work to be performed within our organization. Part of the form is a text field that allows the user to provide us with a url for additional information. In another part of the process we convert this text url into a link. Here is what happens during different scenarios.
1) If the link is cut and pasted from a valid site it works properly.
2) If the fully qualified url "
http://www.google.com"
is typed is works properly.
3) If the user types "www.google.com" (or another valid website) in the link conversion process it appends this information to our url for our cloud instances of Appian ("
scrippsnetworksdev.appiancloud.com/.../www.google.com")
4) If no information is entered it automatically adds the url for our cloud instance. - This can be fixed with an error trap but item 3 we are struggling with.
Any help or suggestions would be appreciated....
OriginalPostID-76768
OriginalPostID-76768
Discussion posts and replies are publicly visible
0
Christine
Appian Employee
over 10 years ago
One idea might be to create a rule that checks what was typed in and then reconfigure the URL based on that evaluation.
So it http is missing, then concat it to the text. If the url was already concerted and
scrippsnetworksdev.appiancloud.com/.../
exists strip that text.
Hope that helps
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 10 years ago
Thank you. We will give it a try.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
elizabeth.epstein
over 10 years ago
This is a rule I wrote to add either http:// or http:/www. depending on the original contents of the URL:
=if(left(uri1,4)="http",uri1,if(left(uri1,3)="www","http://"&uri1,"
http://www."&uri1))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 10 years ago
Thank you for sharing!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel