Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEMnewbie
Community profile AEMnewbie Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 07-08-2020 11:56:04 AM
Offline
Top badges earned by AEMnewbie
Customize the badges you want to showcase on your profile
Re: Component beforeedit
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Nikhil-Kumar@Umesh_ThakurThe above approach seems to be working .Although ..I am still trying to figure out how i can get/set the form values ..(function ($, $document) { 'use strict'; $document.on("dialog-ready", function(e) { var $formminmax = $(this).closest("form.foundation-form"); var idSelector = $formminmax.find("[name='./heading2']").val(); console.log('test'); console.log($("form[name='./heading1']").value);//throws undefined console.log(idSelector);//throws undefined console.log(Grani...

Views

46

Likes

0

Replies

0
Re: Component beforeedit
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Umesh_Thakur - Thanks Umesh ! Let me give this a short

Views

61

Likes

0

Replies

0
Re: Component beforeedit
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Ritesh_M - I just fatfingered while posting it ..I do have the closing "}" in my code

Views

33

Likes

0

Replies

0
Re: Component beforeedit
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@asutosh_jena - Are you saying you tried that alert for beforeedit and it is working?

Views

55

Likes

0

Replies

0
Re: Component beforeedit
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@asutosh_jena - I did look at that article -- And i was able to make afteredit work- but the beforeedit isnt working

Views

115

Likes

0

Replies

0
Component beforeedit
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
I have a listener for a component on a page . When i try to edit the component The after edit works fine and it refreshes the page after edit , but the before edit isnt working as expected . I have multiple components on the page and the new component should read a value from previous created component on the page .. I am trying to pick a value from last created component and use it in the newly created component. Am i missing something which is causing the beforeedit to fail , or is there any o...

Views

228

Likes

0

Replies

12
Re: Merge data from multiple properties using dialog in A...
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Vijayalakshmi_S - My dialog doesnt load at all -- tried adding this to an existing dialog but it didnt merge the valuesAll i The dialog code is exactly the same as mentioned in this link https://adobe-consulting-services.github.io/acs-aem-commons/features/property-merge-postprocessor/index.html

Views

63

Likes

0

Replies

0
Re: Merge data from multiple properties using dialog in A...
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Bhuwan_B it refers to the same article i posted in the question

Views

109

Likes

0

Replies

0
Merge data from multiple properties using dialog in AEM 6.5
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Is there a way to merge property values using dialog ? I was referring to this article https://adobe-consulting-services.github.io/acs-aem-commons/features/property-merge-postprocessor/index.html . I used the example stated in there ..But my dialog box doesnt load correctly.I did check the common version i do see 4.3.2 existing .Is there anything else that we need to make it work?

Views

155

Likes

0

Replies

5
Re: Copy page - Override AEM 6.5
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Bhuwan_B @Arun_Patidar -- I followed the above link and went ahead and created a overlay for this /libs/cq/gui/components/common/wcm/clientlibs/wcm/js/copy.js under apps .. I have the custom implementation for the copy logic ..But i noticed an issue while testing -- The edit option doesnt work after this change .. How could i make it work ? (FYI -- THe edit works when i copy the open.js too into apps ) - But i wanted to just overlay the copy and leave the rest under libs

Views

98

Likes

0

Replies

0
Re: Copy page - Override AEM 6.5
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Thanks @Bhuwan_B ..That post is really helpful

Views

121

Likes

0

Replies

0
Re: Copy page - Override AEM 6.5
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@asutosh_jena Yes ! I get that i am trying to override that OOTB functionality such that it overrides the existing node ( Like update the existing node or delete and create a new one ) - When the copy already exists/wcm/core/content/sites/jcr:content/actions/selection/copypage - I was referring to this path and see if any property addition here would prevent it from creating new nodes with number 1,2,3 - Then i tried looking at /libs/granite/ui/components/coral/foundation/collection/action - I n...

Views

114

Likes

0

Replies

0
Copy page - Override AEM 6.5
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
I am trying to copy pages on the sites page using the copy option on the action bar - But whenever i try to copy the page it creates a new page if the page is existing - I am trying to come up with an ability to overwrite the file if it is existing and create a new one if the file is missing more.

Views

191

Likes

0

Replies

6
Re: What would be a better way to copy multiple pages fro...
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Arun_Patidar Correct ! This isnt a one time process -- And most of the time content authors would be performing this operation - So wasnt too inclined towards a script , unless we have no other option

Views

145

Likes

0

Replies

0
Trying to log info from jsp file to console
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
A little new to these jsp files .. I see a jsp file which has a variable .. I am trying to find out what the variable value is ,by logging it to the console .. Is there any easy way to. do this ..I tried exploring the options in here https://javabeat.net/how-to-debug-jsp/ But when i load the page which eventually calls this jsp ..its failing with 500 error. Caused by: org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compil...

Views

182

Likes

0

Replies

2
Re: What would be a better way to copy multiple pages fro...
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Shashi_Mulugu @Ankur_Khare Here is a overview on my usecase Page 1 (Parent )— Has inheritance in place I.e content/X/page1 Then we have inheritance enabled for this page I.e content/X/Y/childPage1 content/X/Z/childPage2 So any changes in Page1 is carried over to childPage1 and childPage2 But the problem I am trying to address is there is a use case. Where we want to copy info from childPage1 to childPage2

Views

155

Likes

0

Replies

0
Re: What would be a better way to copy multiple pages fro...
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
I am thinking this wouldnt help in my case since i wanna perform copy and not move. I see a rename option too but i dont want to rename it either

Views

168

Likes

0

Replies

0
What would be a better way to copy multiple pages from one location to another in AEM 6.5
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
I have a requirement to copy multiple pages from one location to anotheri.e Page 1-10 has multiple components - Out of which one 1 component need to be copied from one path to another(It should be able to override if existing)Is there any OOO functionality where i could select multiple pages and then a source path and destination path - And then the copying takes place automatically without any performance issue ?

Views

327

Likes

0

Replies

8
Re: I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Arun_Patidar Nah !! I tried doing this it didnt work

Views

163

Likes

0

Replies

0
Re: I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@BrianKasingliI tried the above steps .That didnt work

Views

175

Likes

0

Replies

0
Re: I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Hello @Arun_Patidar This is what i tried for the first 2 steps .I didnt clearly understand the 3rd step

Views

241

Likes

0

Replies

0
Re: I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@BrianKasingli which cq_dialogue are you referring too?

Views

271

Likes

0

Replies

0
Re: I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@KiranVedantam1992 Yes the console logs has no errors in there

Views

244

Likes

0

Replies

0
Re: I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@BrianKasingliI tried to overlay /libs/wcm/foundation/components/page/tab_basic/items/basic/items/tags but that didnt help !! I still see the tags in the create page after this approach and the edit toolbar is still broken

Views

293

Likes

0

Replies

0
Re: I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@KiranVedantam1992 i did check the error log console log ,and cleared the cache !! the logs look fine and the cache clear didnt change anything

Views

264

Likes

0

Replies

0
I am trying to overlay createpagewizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
I am trying to hide the tags from the createpagewizard. The one i have highlighted in the screenshot. I was able to accomplish that ..But i notice some weird behavior after making that change .. For existing page components the edit tool which we notice in the edit mode isnt visible. Am i missing something? which is causing this awkward behavior

Views

454

Likes

0

Replies

14
Re: which would be a better option
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Thanks @BrianKasingli

Views

162

Likes

0

Replies

0
which would be a better option
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
I am trying to use some validation on a field which save a dialog box or i could also set a property while creating a page and remove that field from dialog box. which one is a preferred option .

Views

335

Likes

0

Replies

6
Re: Overlay createlivecopywizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Thanks @Sandeep6 @Bhuwan_B the trick was just to add this sling:hideResource to the property i wanted to hide ..I got it working

Views

271

Likes

0

Replies

0
Re: Overlay createlivecopywizard
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

82 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Ok..I had a question.. I am planning to removing a couple of textfields from the libs wizard..So i overlayed it in apps and removed those 2 fields ..But if it is merging the fields from apps and libs then it doesnt serve the purpose. Is there a better way to do this ?

Views

326

Likes

0

Replies

0
Likes given to