Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I know how to setup a button and I can start a URL from it.
What I do not know is how I can change it so that the url is called with a parameter from one of my data fields.
Example:
When I click my button it launches url www.test.com/?order=xxx
Where I like xxx to be a field from my data table, which I have highlighted.
Thanks in advance.
Make sure you have ='url' & fieldname
In my case I have: ='http://www.google.com/search?q=' & Title
Where the field title has "Account Manager" selected.
Also if you have spaces in your data that you are suppling in the URL you might need to url encode it before.
Seen some cases when you did not have to and then some when you had to encode the url.
Add an action to your button called "Open URL", it's located under external.
Use this syntax, ='http://www.google.com/search?q=' & FieldName
Or in your case ='www.test.com/?order=' & FieldName
As a test I have put the following in the URL field of my button:
http://www.google.com/search?q= & [Master-Reference-Header#]
But when I click my button, my browser starts with the following:
https://www.google.com/search?q=%27%20&%20%5BMaster-Reference-Header=#]&fp=1&bav=on.2,or.r_gc.r_pw.,cf.osb&cad=b
Make sure you have ='url' & fieldname
In my case I have: ='http://www.google.com/search?q=' & Title
Where the field title has "Account Manager" selected.
Also if you have spaces in your data that you are suppling in the URL you might need to url encode it before.
Seen some cases when you did not have to and then some when you had to encode the url.
Thanks for the answer.
My problem was that I did not have the = sign in front of my url.
Super!