Creating Media Processing Flow in Sitecore Content Hub
Hello everyone, In this blog we will learn, how we can add media processing workflow in Sitecore Content Hub. We will see with a use case.
Use Case: When we will upload or refresh a JPEG asset entity, It will create a PNG rendition of that Asset.
Checkout the below screesnhot which will help you to configure steps for creating a media processing flow.
Step 1: Manage page --> Search Media Processing --> Click the Media Processing --> It will open the page
Step 2: Click on Content --> Click on Image --> It will open main page where we will add a flow
Step 3: Add new Task by Clicking + icon --> Click on Convert Image task --> Fill the parameter section. Specifying Content type is very important.
Step 4: Go to ouput section and configure the parametes. Give the label which will will shown in output name for the png rendition.Once done save task and save the flow and publish the media processing flow.
Step 5: Once published, come back to Asset Search Page. Select any asset and go to its detail page. From there go to More Action --> Public Links --> Add Public Link. Check if any PNG rendition is available for that asset entity in dropdown. For the below asset we are not having any png rendition.
Step 6: Come back to Asset Search Page and select the Asset --> Actions --> Refresh Rendition. A refresh rendition page will open. Just check the option and click on submit. A mass edit job will be triggered in background. once it is completed. We will verify whethere PNG rendition is created or not for that asset.
Step 7: Once job is success, Navigate to Asset Detail page of that Asset Entity --> More Actions --> Public Links. Click on Add public Links and then in dropdown, you should be able to see the PNG rendition created for that Asset Entity.
You can verify the newly created rendition in Rendition Section of Asset Detail page also.
Hopefully, this blog can give you an idea about the media processing workflow in Sitecore Content Hub. This is only one use case. We can do much more. Happy learning!!!
You can check my other blogs too if interested. Blog Website
Comments
Post a Comment