Forum Discussion
MarkShnier__You
4 years agoQrew Legend
here is the generic format
var text Words = "Click here to display record";
var text URL = URLRoot() &"db/" & Dbid() & "?a=dr&rid=" & [Record ID#];
"<a class='Vibrant Primary'" & " a href=" & $URL & " target=_blank" & ">" & $Words & "</a>"
..... so it should be
var text Words = "Go to Share Point";
var text URL = [my sharepoint URL data entry field];
"<a class='Vibrant Primary'" & " a href=" & $URL & " target=_blank" & ">" & $Words & "</a>"
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
var text Words = "Click here to display record";
var text URL = URLRoot() &"db/" & Dbid() & "?a=dr&rid=" & [Record ID#];
"<a class='Vibrant Primary'" & " a href=" & $URL & " target=_blank" & ">" & $Words & "</a>"
..... so it should be
var text Words = "Go to Share Point";
var text URL = [my sharepoint URL data entry field];
"<a class='Vibrant Primary'" & " a href=" & $URL & " target=_blank" & ">" & $Words & "</a>"
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
- HankHalverson4 years agoQrew CadetThanks Mark!
Before I had a chance to comeback and check this I found another non-code solution. I made another URL field that is displayed as a button and made an automation that when an email was entered in the first field it would change the URL in the button field to the same email.
------------------------------
Hank Halverson
------------------------------