Creating Internal Macros
Create internal macros to specify values that are not expected to change, and are used repeatedly in your DivePort portal. To create an internal macro:
-
On the DivePort title bar, click ADMIN.
The ADMIN context menu opens.
-
Click Macros.
The Macros dialog box opens, listing existing macros.
-
Click Add.
The Edit Macro dialog box opens.
-
In the Name box, enter a name for the new macro.
Use a name that is intuitive. For example, Portlet_Background_Color.
IMPORTANT: Do not use commas, parentheses, or quotation marks in the macro name.
-
In the Value box, enter a value for the macro. Use the syntax required for the macro properties. For example, Portlet_Background_Color requires a color value, and the syntax is r, g, b.
- Click OK.
The newly defined macro appears in the Macros dialog box, and can be used throughout the portal. The External column value (No) indicates that it is an internal macro.
Internal macros are stored in the portaldb.json file.
See also: