Publishing best practices
Schedule Publishing/UnPublishing
Architecture and customization
-Jitendara Soni
1 Introduction
For scheduling and
unpublished content based on the upcoming dates is a key area for the
Architecture to take the right decision, even to agree for the initial
discussion,
Here, it’s an attempt to
cover – What is default is Sitecore and what all are the must required
changes/customization.
Example – Scheduling.
2 Schedule
publishing and unpublishing – Best Practices.
3 Schedule
publishing and unpublishing scenarios.
3.1 Scenario
1 – Create an item without any worklow .
3.2 Scenario
1.1 – Create second version of that item without any workflow
Second
item will automatically published .
3.3 Scenario
1.1 – never publish setup without any workflow.
Set
never publish to this items – let see if this item automatically disappear or
not
It
would be quickly deleted.
3.4 Scenario
2.1 – Create item with workflow
It
will be published after approval
3.5 Scenario
2.2 – Create new version of workflow items
After
approval for next 5 minutes , previous content will be moved.
3.6 Scenario
2.3 – Schdule multiple item through publish menu-change options
Here
multiple item can be defined, below are the details
Pipeline Execution:-
Note :- For any execution and logic for the pipeline execution below information will be usefull.
We wanted to process some date modification on pipeline and used itemCompleted pipeline but that will only triggered once for all language versions, then have to move our code to itemProcessing pipelines.
Details:-
ItemProcessing - this will be executed for all language versions. Let's say if you have one content for five languages then it will be executed for five time, You code should handle to be executed for one or multiple time based on your field type Shared or not.
Pipeline processing End :- This will be executetd only one time, let's say if you have content published for five languages it will be executed once.
Piple line end: this will also be executed once as Pipeline process End
Note :- For any execution and logic for the pipeline execution below information will be usefull.
We wanted to process some date modification on pipeline and used itemCompleted pipeline but that will only triggered once for all language versions, then have to move our code to itemProcessing pipelines.
Details:-
ItemProcessing - this will be executed for all language versions. Let's say if you have one content for five languages then it will be executed for five time, You code should handle to be executed for one or multiple time based on your field type Shared or not.
Pipeline processing End :- This will be executetd only one time, let's say if you have content published for five languages it will be executed once.
Piple line end: this will also be executed once as Pipeline process End
No comments:
Post a Comment