Skip to main content
Version: 1.25

Add Module

This action will add a DNN module to a page.

Parameter Reference

ParameterDescriptionSupports TokensDefault
PageIdentifies the page that contains the module. Leave empty to load the module from current page. If it's an expression, possible values are a Tab Id, a Tab Path (a valid path is //RootPage//SubPage//AndSoOn) or a Tab Name (the first one is matched, so use this carefully). Can contain context tokens (for example [SomeTabId]) and My Tokens.YesNone
Module TypeIdentifies the type of module to create. Select from list or use an expression that resolves to an extension name. Can contain context tokens (for example [SomeModuleType]) and My Tokens.YesNone
Module TitleSpecify a title for the module. Leave empty if you don't want to update Page Name. Note that you can use a context token like [Title] to read it from input or use My Tokens.YesNone
PaneThe name of the pane where to place the new module. Note that you can use a context token like [PaneName] to read it from input or use My Tokens.YesNone
Display ContainerThis option will be evaluated as a boolean such as true. Note that you can use a context token like [DisplayContainer] to read it from input or use My Tokens.YesNone
Enable PrintThis option will be evaluated as a boolean such as true. Note that you can use a context token like [EnablePrint] to read it from input or use My Tokens.YesNone
Enable RSSThis option will be evaluated as a boolean such as true. Note that you can use a context token like [EnableRss] to read it from input or use My Tokens.YesNone
Start DateWhen specified, this option determines the date after which the module becomes visible on the site. Can contain context tokens (for example [DateStart]) and My Tokens.YesNone
End DateWhen specified, this option determines the date after which the module is no longer visible on the site. Can contain context tokens (for example [DateEnd]) and My Tokens.YesNone
PermissionsSet permissions for the module. The first column would contain VIEW or EDIT. The second is a list of role IDs or role names delimited by comma or semicolon. If you're linking to a Permission Grid control, you can use [PermissionGrid:PermissionName] tokens in this field. Can contain context tokens (for example [RoleName]) and My Tokens.YesNone
Store Module ID inSpecify a key for storing the ID of the newly created module. You can access it in other actions using the bracket syntax. For example, if you save under MyModuleId, you can get it later with [MyModuleId] token. Leave empty if you don't need the module ID.NoNone