How do I create dynamic menus with SmartProperties?


Dynamic menus allow you to create drop-down menus using either:

- on TXT, CSV, or XLS files

- in a database



We'll see how it works using a text file and Excel

  • Text file


First, let's start by creating a new text file in the folder containing the SmartProperties configuration files.








In the case of a text file, each tab corresponds to a menu level and the definition of a property.

Set up your text file as follows:




In the settings for your SmartProperties mask, add a "Dynamic Menu" property and load the text file you created earlier:





Here is the result we'll get in SmartProperties:




  • Excel file


In an Excel file, each column corresponds to a menu level and the definition of a property.

Set up your file as follows:



In the settings for your SmartProperties mask, add a "Dynamic Menu" property and load the text file you created earlier:





Here is the result we'll get in SmartProperties: