Friday, September 30, 2022

Media Processing Set

 Create a media processing set

ØOn the menu bar, click Manage .

ØOn the Manage page, click Media processing.

ØThe Media processing page lists all the defined media processing sets. If you click on a media processing set in the left pane, the flows it contains are displayed in the right pane.

ØTo create a new media processing set, on the Media processing page, click New set.


ØTo create a new media processing set, on the Media processing page, click New set.

ØIf you want the processing set to be applied by default and run on each processing job, turn the Auto-run switch to On.


Create a media processing flow

ØOn the media processing set page, click Add flow.

In the Flow settings dialog box, define the following parameters:


Priority: this is the priority handling of processing jobs defined on the flow level. Flows are handled by the processing agent with the following priorities:

ØLow

ØNormal

ØHigh

ØBackground

Name: this is the name used for the media processing flow. We recommend that you use a label that characterizes the file type cluster.

File types: these are the file extensions that go through the media processing flow.

Next we need to know about Processing flow to proceed further

Processing flow detail

 Processing flow detail

The Processing flow detail page provides a visual representation of the tasks contained within a media processing flow and provides the ability to select, edit, clone, move, or delete a task. The following example shows the media processing flow for Images.

When you select a task, the right pane displays the task details. Task details consist of the task name and parameters.

Interact with the media processing flow

ØOn the menu bar, click Manage .

ØOn the Manage page, click Media processing.

ØIn the left page of the application window, click a media processing set, for example Content.

ØIn the list, click a flow, for example Images.



Do any of the following:

ØTo select a task, click the task.

ØTo edit a task, click Edit .

ØTo delete a task, click Delete . >(This action also deletes its child tasks).

ØTo clone a task, click Clone . > (This action clones the selected task only and does not clone the child tasks).

ØTo move the flow, hold down the left mouse button and move the flow to the desired location.

ØTo zoom in and out on the canvas, use the mouse wheel.

 When you finish your changes, click Save task.

The next step is we need to create a task 

Task Creation in Media processing

 

Create a task

ØAt the point in the media processing flow where you want to create a task, click +:


ØIn the right pane, select a task type, for example Convert image.


ØGoing to try this



Store outputs

ØStoring outputs enables you to download or display an asset through a rendition link. Storing outputs is optional.

To store outputs:

ØOn the media processing flow page, on the canvas, select a task and, in the right pane, click the Outputs tab.

ØClick the Store output toggle switch to make it active and then click New link.

ØIt show add I already have added so it is showing edit

Intent of the rendition link

ØNone

ØDownload - save the link to your device

ØStreaming - view the link online

ØWhenever you like to see you can find our new task

ØThen save and publish

Let’s test

ØFirst refresh all the assets in the asset detail page


ØLet’s open any of the asset page

ØDownload section

ØPublic link section

ØOnce you download you can see the image in pdf format.

Create a media processing

 When you upload assets into Sitecore Content Hub™, they go through a conversion process that renders them according to predefined configurations. Content Hub lets you configure these data conversions.

The main concepts of media processing are:

Task: a processing flow task defines an asset conversion.

Set: a media processing set contains all the processing flow tasks that affect an asset.

Workflow: a media processing workflow determines how an asset is handled.

Use case:

 When I download the media I would like to add some options to download. Let’s see this are the options are already available with download, how should we add a new one here?


ØMy case I like to add one more rendition that will download the image as PDF

Please click here for go through the demo


Steps to follow when using a PowerShell script to modify the goals in Sitecore

I have previously utilized PowerShell for item creation, modification, deletion, and presentation details in Sitecore.   Ø Recently, I attem...