Module server
kitems.Rd
Module server
Arguments
- id
the id to be used for the module server instance
- path
a path where data model and items will be stored
- create
a logical whether the data file should be created or not if missing (default = TRUE)
- autosave
a logical whether the item auto save should be activated or not (default = TRUE)
- admin
a logical indicating if the admin module server should be launched (default = FALSE)
- shortcut
a logical should attribute shortcuts be computed when building the item form (default = FALSE)
Details
If autosave is FALSE, the item_save function should be used to make the data persistent.
To make the data model persistent, use saveRDS function. The file name should be
consistent with the output of dm_name function used with id
plus .rds extension.
When admin is FALSE, admin_ui will return an 'empty' layout (tabs with no content) dynamic_sidebar is not affected by this parameter. It is expected that those function will not be used when admin = FALSE.