AEM Workflow Thumbnails - aem

I am trying to find a way to extract thumbnails from images inside an AEM workflow. The class FFMpegThumbnailProcess, inside cq-dam-video-5.8.2.jar, does it for video.
Is there a class that does it for images?

Check the DAM Update Assset workflow in your workflow console, localhost:<port>/libs/cq/workflow/content/console.html.
It should have a process step named Thumbnail creation. You can check what class that step uses, in my AEM 6.0 instance is com.day.cq.dam.core.process.CreateThumbnailProcess.

Related

AEM 6.2 How to change template of a page

I have created live copy of a page branch from sample website, inside my website. I was just trying to update the template so that I can create a local copy of the template used with original page and then change the UI. I can see the property with the cq:template and sling:resourceType as component name in development environment(CRXDE Lite). Can anyone suggest if we can update the property to change the template and component or if there any other way to change the template.
You can update cq:template and sling:resourceType on page/jcr:content node with corresponding new values and it would effectively change the template of page.
you might run into errors if code on new page component is expecting a different content than what is currently under your jcr:content.
ps- I dont know what your use case is but this would be very crude approach and should be avoided.

How to disable renditions on AEM 6.2

I am new to AEM, can anyone tell me how to disable renditions in AEM 6.2.
I have tried disabling workflows in various ways, but still I am not aware of how to check whether my rendition are disabled are not.
In AEM if you have uploaded any asset to DAM (i.e. under /content/dam/ node) because of the node created launcher (which you can find http://host:port/libs/cq/workflow/content/console.html launcher tab). it will trigger DAM Update Asset workflow model.
For Example: When you upload any asset into DAM /content/dam/geometrixx-outdoors/activities/snowboarding/flower.jpg after completion of DAM Update Asset workflow the renditions will be created under /content/dam/geometrixx-outdoors/activities/snowboarding/flower.jpg/jcr:content/renditions folder as shown in below screenshot.
If you don't want to trigger this workflow model you can set the /etc/workflow/launcher/config/update_asset_create and /etc/workflow/launcher/config/update_asset_mod launchers configuration "enabled" property to false as shown below.
for more understanding you can refer this article what-happens-when-a-pdf-is-uploaded-into-cq-dam
~ Hope this gives you enough idea to verify your renditions related query.

Apply kaleo Workflow for document and library in liferay

I am use Liferay 6.2.
I would apply kaleo workflow for document portlet !
Can you help me?
thank you!
There is no difference in using kaleo workflow between Web Contents or Documents and Media. Just make sure you use context variables available for given type (this might be usefull for you https://www.liferay.com/web/igor.beslic/blog/-/blogs/workflow-in-action-kaleo-workflow-context-variables) The one thing which might be not so obvious, is the place where you configure Documents and Media workflow.
If you want to define workflow for Documents and Media:
Go to documents media section
Click edit on main folder (or different one which you want workflow to be applied)
Select workflow from select

cq5. What filter I need use for upload my scaffold page?

I created a scaffolding page based on the info provided in this link
http://dev.day.com/docs/en/cq/5-5/wcm/scaffolding.html
I currently have it within my instance only, but i want to package it and deploy to other instances.
What filter I need use to package my scaffold page?
You need to use filter that points to your scaffolding page.
You generally create scaffolding pages under /etc/scaffolding.
In case you are doubtful of the page's path, check the URL of your scaffolding page. You should be able to figure it out(see the highlighted part in the image below).
For more info on filters and creating package refer Package Manager docs.

Orchard Workflow 1.7

I have downloaded the latest upcoming 1.7 version and I tried to understand how workflow works and how it can be extended.
First question is: is there some documentation about it?
I found something but not so detailed on how to extend workflow with my features.
For now this is what I cannot figure out myself inspecting the existing code:
How can I assign a custom icon to my custom action (like the envelope in send mail) both on canvas and in toolbox?
I have tried providing a css class with same name and a resource (in a different module), the action works but it shows default icon.
Thanks
No
Look at the stylesheets in the module. You'll see that the image is being defined inline, from the stylesheet, as a background image, for each activity. You may of course use an external image, or reproduce that pattern of including it inline.