Variable external URL in links
Autore: Paul De Freitas
Visite 2276,
Followers 1,
Condiviso 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
Postato il
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!
Autore
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!