I am getting fustrated with an issue i am having during development. as i name the filenames different during each stage as to allow me to return when i f#$K up . Sorry, Make a typographical error.
However in a html address lookup i want to insert the filename. which i have set as a $Variable as well as a field.
var uri = 'fmp://$/<<FileName>>.fmp12?script=(0923) Private.GoogleSearchResult';
Is there a way to insert it into this line of code?
You can easily do many substitutes in a single function call:
Substitute (
HTML::JSFunction ;
[ "**FileName**" ; Get(FileName)] ;
[ "<<APIKEY>>" ; TO_02____PREFERENCES | MODULE MAP::APIKey ]
)
You can find more details on how to use Substitute in Help: FileMaker Pro 17 Advanced Help