I created a Menu type "Opens Web Page" and filled the field "Command" with a valid URL, and it works well:
However, if I want to change the URL, I need to rebuild the project.
I tried to create a text field, marked as "Hyperlink" in the table Glob and use it in the field "Command" of the Menu type "Opens Web Page":
Is there a way to change the URL dynamically?
Genio does not currently allow database fields in the definition of the "Open Web Page" pattern. At this point, the pattern opens a web page if the page opening command expression contains "http" or "www.". If the expression does not contain one of this strings, the system tries to open it as a document in the folder "~ / Content /" on the WEB server.
In a future version of Genio the possibility of including in the command expression a field from [GLOB] table will be implemented.
Using manual code you can, overcome this need. See example below:
- Define field in table GLOB
Then create a menu entry with continuation for manual routine
Next create in Manwins that