Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
Menu type: Opens Web Page - How to change the URL without rebuild the project
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?
In the Genio version 289.63 or higher, the field of the GLOB table will be supported in this type of menu.
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
and that
Keep Informed
About the Community
Question tools
Stats
Asked: 15/04/20, 14:18 |
Seen: 2376 times |
Last updated: 24/08/20, 14:18 |