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.
Related
I have followed every step given in the following repo GitHub - Adobe-Marketing-Cloud/aem-scf-sample-components-extension: Sample package for AEM Social Communities - Social
I have added the subtitle property to "com.adobe.cq.social.journal.client.endpoints.impl.JournalOperationsService" and created a page using the given template and tried to add the extended journal component and clicked on New Article and tried to enter some content and clicked on publish immediately. But after I click on Publish it's taking me to the same page and no content is being published. And I checked if the UGC is stored under /content/usergenerated/asi/jcr/content but no content is stored for the ectended Journal component.
Where as the other extended community components that are given in the above repo are are working fine. I have added the required client libraries. Can anyone help me what am I missing?
After a lot of research, I understood that when you are publishing a new blog article JS is not getting loaded.
Steps to resolve the issue:
1) Navigate to /etc/designs/acme/clientlibs/site
2) Delete the JS folder and js.txt
That's it you are good to go.
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.
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.
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
I have installed both author and publish instances of CQ5.5 on my PC. But when I add a new page and publish it, it does not appear in the publish instance. Only a blank page is rendered.
I have tried activating it both from the siteadmin and from the Replication page in Tools. Only the navigation item appears in the Publish instance.
I checked the Request logs also. But it only gives a
200 response(OK)
Can someone please help me on this ?
You need to activate/replicate your /apps/site folder where all of your templates and components are located to push it from your author instance to your publish instance. Activating a page doesn't automatically activate the components and templates it uses.
Go to:
http://localhost:4502/etc/replication/treeactivation.html
Browse to or type /apps/[your site] in the path field
Set the check boxes to fit what you want to activate (Unchecking all will make everything under the selected path activate)
Click 'Dry Run' to see what will get activated without actually activating. (This is more of an informative step to help ensure you don't activate something not intended in a production setting)
Click 'Activate' to activate.
You can then check your publish instance to see your templates and code are there.
It is easy to miss activating your apps folder as there is no ui like the website admin for pages where you can activate.
Activating a page/folder/asset does not activate sub-pages/folders/assets. This can cause confusion especially when working with folders.
Generally if you need to activate a tree the best way is to use the tree activation utility
The only time I've ever seen this is when the code is not installed. That would be the first thing that I'd check. Go to (assuming you have your publisher on port 4503)
http://localhost:4503/crx/de
You should have your the code in /apps and you should be able to find the content page in /content too.
The reason this happens is that the sling:resourceType property points to a component that doesn't exist so it uses the default which is an empty output.
You have to build the code to both the environments (author as well as publish). This way both the environments will have the same copy of source code installed in the form of cq5 packages and felix bundles. Then if you create a new page or drop any component on any existing page, it will appear the same on publish environment after activating the same either through 'Activate Page' link in sidekick or through replication tree activation page.