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:
-
Active
boolean used to enable or disable the plugin -
SiteCode
configuration parameter related to theclustering
plugin -
Global category
mandatory category code that each content will be assigned to when suspended or moved to a generic archive not belonging to a specific category -
Content replacement
content identifier that will replace the archived/unpublished content -
Content model replacement
model 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 attribute
this mandatory parameter defines the mapping of the field used for automatic publishing. -
end date attribute
this mandatory parameter defines the mapping of the field used to determine whether or not the content has expired. -
Content replace id
this optional parameter overrides theGeneral Settings
Content replacement
setting. -
Content replace model id
this optional parameter overrides theGeneral Settings
Content model replacement
setting. -
Suspend
mandatory boolean to define the behaviour of an expired content:true
unpublishes the content whilefalse
archives 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.