since ‎19-10-2016
Online
Ravi_Pampana
MVP
Re: Replication
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @rk39193348, As per your code, you are using scr annotations which are outdated. Please use the R7 annotations. Try this updated code from my end: import javax.jcr.Node;import com.day.cq.replication.Replicator;import org.osgi.service.component.annotations.Component;import org.osgi.service.component.annotations.Reference;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import com.day.cq.replication.ReplicationActionType;import com.day.cq.workflow.WorkflowSession;import com.day.cq.workflo...

Views

8

Likes

0

Replies

0
Re: Manually modifying the package and re-uploading
Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
- Adobe Experience Manager
@Ravi_Pampana thank you for providing solution to the community.

Views

16

Likes

0

Replies

0
Re: Limiting uploads by size at folder level in AEM Assets
Avatar

raj_mandalapu

MVP

raj_mandalapu
- Adobe Experience Manager
Hi Harish, If you want to set up the size limit for the entire assets folder then you can refer to OOTB configuration,https://experienceleague.adobe.com/docs/experience-manager-64/assets/managing/managing-video-assets.html?lang=en#publishing-video-assets But, in your case it is not, you need to set it up at the folder level, you can try the below approaches. 1. workflow processCreate a separate workflow process step and in the execute method get the file size either by reading the metadata of th...

Views

99

Likes

2

Replies

0
Re: AEM 6.5 <B> to <strong> in RTE
Avatar

raj_mandalapu

MVP

raj_mandalapu
- Adobe Experience Manager
Yes, you can do this using bulk editor also. I feel it is manual work will take time

Views

99

Likes

0

Replies

0
Re: Show hide buttons on toolbars in page listing view
Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

859
Arun_Patidar
- Adobe Experience Manager
you can directly deny the read permission of /libs/wcm/core/content/sites/jcr:content/actions/selection/viewproperties node for those groups.

Views

91

Like

1

Replies

0
Re: which would be a better option
Avatar

AEMnewbie

AEMnewbie
- Adobe Experience Manager
Thanks @BrianKasingli

Views

93

Likes

0

Replies

0
Re: Page Properties is not disabled or no Lock Icon (Canc...
Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
- Adobe Experience Manager
Not sure of the equivalent of lockable property for foundation/components/page resource which has fields in xtype still. Suggest to update to latest core v2 page component.

Views

114

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

v1101

v1101
- Adobe Experience Manager
Do we have any "emptyOption" property available for dialog (Classic UI dialog) ?

Views

137

Likes

0

Replies

0
Re: Rearranging tabs using sling:orderBefore
Avatar

v1101

v1101
- Adobe Experience Manager
@Ravi_Pampana - It worked. Thanks for the wonderful solution.

Views

109

Likes

0

Replies

0
Re: [AEM 6.5] - jar file
Avatar

shelly-goel

MVP

shelly-goel
- Adobe Experience Manager
@anandsree You can get it from here: https://drive.google.com/file/d/1nCKVLFZzzLT9Om-iDbb21eA998cvo28Y/view?usp=sharing

Views

126

Like

1

Replies

0
Re: AEM-6.5 Page properties not being reverted when i cli...
Avatar

shelly-goel

MVP

shelly-goel
- Adobe Experience Manager
@narayanad670284 If any of the properties like navTitle, pageTitle, or subtitle (not starting with cq, jcr, or sling) are modified on a we.retail example site, and following same steps as yours, the properties do revert back to what was set in the previous version.It must be something to do with your custom implementation or how the versions are created.

Views

125

Like

1

Replies

0
Re: Adding image urls with presets having $ in CSS file
Avatar

hamidk92094312

Employee

hamidk92094312
- Adobe Experience Manager
@Ravi_Pampana Thanks for sharing the update. You took the right approach as this seemed to be an issue rather than a feature request. So lets keep the IDEAS section of the community for submitting feature requests. Thanks

Views

281

Likes

0

Replies

0
Re: [New] Welcome to AEM Community! Please Introduce Yourself
Avatar

anshulmg

anshulmg
- Adobe Experience Manager
Hi,I'm Anshul and I've worked on CQ 5.6 to AEM 6.3I'm interested in experimenting on the newer features and hopefully incorporate in the solutions I work upon. I really look forward to learning more from the community over here.Thank you

Views

859

Like

1

Replies

0
Re: Is there any option through which only the metadata v...
Avatar

Deepali1991

Deepali1991
- Adobe Experience Manager
Is there a way, if any specific value selected in the Page properties of the English page/Language master can be promoted on other nodes/Translated pages without promoting the full page.

Views

138

Likes

0

Replies

0
Re: How to find or count all pages in AEM project? | AEM Community Blog Seeding
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
This is helpful. We can also find the count using query builder in json format https://www.blogger.com/blog/post/edit/1528470937317694714/167344651072834696

Views

175

Like

1

Replies

0
Re: JSON on page load
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @v1101 , you can write a servlet and in that you can call a particular node using resource api.Once you got the node as a resource, it is very easy to read particular property of that node using value map.Now you can call the servlet on page load using jquery.Please see below for sample code. Resource resource = resolver.getResource("/content/sita/en_UK/x/y/jcr:content/"); $.ajax({type: 'GET',url:'/bin/sitea/servleta',processData: false,contentType: false,data:formData,success: function(msg){...

Views

148

Like

1

Replies

0
Re: AEM Sightly - Check if edit mode
Avatar

VeenaK

VeenaK
- Adobe Experience Manager
@LaMind3 similar case has been addressed at https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-add-the-author-edit-mode-condition-in-sightly-htl-for/qaq-p/330826 please check.Also, as preview mode demands a page refresh, can use ${wcmmode.preview || wcmmode.edit} for your case. If that conditional output has to work on publish mode then please add ${wcmmode.disabled}.

Views

249

Like

1

Replies

0
Re: Not able to fix these dependency issues
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@Heena06 Which version of AEM are you using ?If some dependencies are not resolved in your AEM instance then you need deploy those dependencies as bundles.https://aemsimplifiedbynikhil.wordpress.com/2020/08/23/resolve-dependencies-by-converting-jar-to-bundle-aem-6-5-5/Thanks,Nikhil

Views

228

Like

1

Replies

0
Re: provide 301 redirect in aem 6.5
Avatar

raj_mandalapu

MVP

raj_mandalapu
- Adobe Experience Manager
Hi @sreenu539 Both solutions will work, choosing one on others depends on the requirements if you have hundreds of pages and want to give control to the content authors then selecting this at page property level will help, you do not need to request TechOps guys to add redirection for every page.If you what pages you want to redirect then I prefer rewrite URL's is the best solution.

Views

351

Likes

2

Replies

0
Re: Read xml file and convert it to aem page
Avatar

rk39193348

rk39193348
- Adobe Experience Manager
Now how do I add html dynamically and programmatically to the page?

Views

242

Likes

0

Replies

0
Re: AEM 6.4 - Touch UI: The height of the #ContentFrame keeps growing in edit mode
Avatar

Prahlad

Prahlad
- Adobe Experience Manager
Thanks for the clue. 🙂

Views

629

Likes

0

Replies

0
Re: Issue with Experience Fragment url when opening from Success dialog
Avatar

kautuk_sahni

Community Manager

Total Posts

5.8K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
- Adobe Experience Manager
@Ravi_Pampana , Reply from PM: Maybe a bug? I think I’ve seen this. Please contact and report to support.

Views

308

Likes

0

Replies

0
Re: Retrieve Image Extension
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, Check below code to get the image extension from image resource Image image = new Image(resource); // resource - image resourceimage.getExtension(); For more details, please referhttps://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/day/cq/commons/ImageResource.html#getExtension()Hope this helps!

Views

147

Like

1

Replies

0
Hi, Check this post https://experienceleaguecommunities.a...
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi,Check this posthttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-touch-ui-the-height-of-the-contentframe-keeps-growing-in/qaq-p/296798

Views

326

Like

1

Replies

0
Re: How to Disable SSO in Publisher for certain dam path
Avatar

surabhikatiyar

Employee

surabhikatiyar
- Adobe Experience Manager
Check 'Apache Sling Authentication Service' configuration in /system/console/configMgr. There is a means to exclude paths from authentication using the 'Authentication Requirements' field. For excluded paths, SSO login would not be triggered.

Views

150

Like

1

Replies

0
Re: receiving a random script in case of 404 error
Avatar

BrianKasingli

MVP

BrianKasingli
- Adobe Experience Manager
Check your 404.jsp, basePage.jsp or basePage.html scripts, there might be code unwanted code there.

Views

151

Like

1

Replies

0
Re: Call a Custom workflow on hit of activate button
Avatar

SundeepKatepally

SundeepKatepally
- Adobe Experience Manager
There are multiple ways 1) option1 : If you dont want acticate option , simply handle it via ACL by removing replicate access.2) Option2: If you want the button to be shown, then overlay the libs/* node corresponding to libs and then write custom js to handle this. Custom js can directly call a servlet , which in-turn can initiate a model or directly invoke workflow (i am not sure whether this option will work or not.)

Views

184

Like

1

Replies

0
Re: Missing CSS .
Avatar

AEMnewbie

AEMnewbie
- Adobe Experience Manager
@Arun_Patidar @Shashi_Mulugu Thanks Arun and Shashi.. CSS finally worked the issue was #base=less instead of #base=css

Views

137

Likes

0

Replies

0
Re: Enable disable inbox notification
Avatar

nitinjl

nitinjl
- Adobe Experience Manager
Initially I explored this configuration, but it seems it is related to email notification, and does not control notification messages comes under inbox. Tried enabling and disabling the notifications using "Notify on Abort" and "Notify on Complete" option but getting the same result and Not able to disable inbox messages. Am I missing anything here, please suggest.

Views

246

Likes

0

Replies

0
Re: Create a report of broken links
Avatar

sunjot16

Employee

sunjot16
- Adobe Experience Manager
Thank you for clarifying it. 🙂 You can use any HTML Parser library(eg: JSoup HTML Parser) to do that. Include that dependency in pom.xml file and then use it to read HTML content or even links on any internal page. Sample Reference code can be found here:https://mkyong.com/java/java-how-to-get-all-links-from-a-web-page/ You can include the similar code in your servlet to achieve your use case. I hope it helps !! 🙂

Views

366

Like

1

Replies

0