Variable external URL in links
Author: Paul De Freitas
Visited 2346,
Followers 1,
Shared 0
I need to reference an external URL that changes on a daily basis. As an example, a typi cal daily URL would be:
http://www.somesite.com/somefolder/121716.chm
where 121716 is mmddyy.
I can generate today's mmddyy with javascript and I am assuming that I should place the complete url into a var.
How should I reference this var in the "Internet file" element of the "Link" Action tab?
Any assistance would be appreciated.
Paul
Posted on the
Hello Paul,
Unfortunately I cannot help you with the use of custom code since the support is only available for functions included in the program.
You can to to search the information with the use of search engines like google or wait to see if someone of the community is able to help you.
Many thanks!
Author
Hi Claudio
Can I then recommend to your development team that in the URL box we are allowed to enter <var="myvarname"> as part of a concatenated string. In the example given above, the resultant target URL would become
.chm" target="_blank" rel="nofollow">http://www.somesite.com/somefolder/.chm
or
"http://www.somesite.com/somefolder/"+<var="myvarname'>+".chm"
This would be a simple parsing exercise to substitute the current value of the variable "myvarname" or whatever. Very powerful!
Many thanks for your response.
/Paul
Hello Paul,
Thank you for the suggestion which will be kept in consideration for the future releases of the program.
Many thanks!