Computer Magic Logo
Create a macro

Saturday, August 8, 2015

Published by Aristotelis Pitaridis

From the Back Office we find the "Partial View Macro Files" tree node from the Developer Section.

We right click on the "Partial View Macro Files" node and a list with commands will appear on the screen.

We click on the Create command and the Partial View Create form will appear on the screen. 

We type the name MyFirstMacro and we make sure that the Create Macro check box is checked.

We click on the Create button and the system will automatically create a partial view and a new Macro for us. On the screen the Template editor will appear with the contents of the Partial View that we just created.

If we expand the Macros and Partial View Macro Files nodes we will see the new entries that we just created.

Let’s add some contents in the Partial View that we just created. 

We type the contents of the Partial View and we click the Save button which is located at the upper right corner of the screen. Now our macro is ready to use.