entando-plugin-jpcontentscheduler
Content scheduler
Code: jpcontentscheduler
Description
This plugin is used to manage contents temporal windows based on the content's dates.
It is possible to set up rules that:
- will move an expired content to a public archive
- will unpublish the expired content
- will automatically publish the content
- will send email notifications to a list of users
Installation
Open the pom.xml of your project: locate the tag toward the end of the file, after the tag; if the dependencies tag does not exist just create a new one just after the closure of the build tag.
Add the following snippet inside the dependencies:
<dependency>
<groupId>org.entando.entando.plugins</groupId>
<artifactId>entando-plugin-jpcontentscheduler</artifactId>
<version>${entando.version}</version>
<type>war</type>
</dependency>
General Settings:
-
Activeboolean used to enable or disable the plugin -
SiteCodeconfiguration parameter related to theclusteringplugin -
Global categorymandatory category code that each content will be assigned to when suspended or moved to a generic archive not belonging to a specific category -
Content replacementcontent identifier that will replace the archived/unpublished content -
Content model replacementmodel identifier that will replace the archived/unpublished content
Email Settings:
These settings are used to manage how email notifications are being sent
Users Settings:
Used to define bindings between users and content types. It is possible to specify in a very granular way which user should receive emails for each type of content.
Content Types Settings:
-
start date attributethis mandatory parameter defines the mapping of the field used for automatic publishing. -
end date attributethis mandatory parameter defines the mapping of the field used to determine whether or not the content has expired. -
Content replace idthis optional parameter overrides theGeneral SettingsContent replacementsetting. -
Content replace model idthis optional parameter overrides theGeneral SettingsContent model replacementsetting. -
Suspendmandatory boolean to define the behaviour of an expired content:trueunpublishes the content whilefalsearchives it.
Developing against local versions of upstream projects (e.g. admin-console, entando-engine).
Full instructions on how to develop against local versions of upstream projects are available in the entando-parent-bom project.