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: Is there an easy way to extract AEM nodes into JSON
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

88 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
@Arun_Patidar Updated it to something like this , looks like it is getting me the info i am looking for http://localhost:4504/bin/querybuilder.json?path=/etc/test/products&type=nt:unstructured&p.limit=-1&p.hits=full The only info i need in here is child nodes info .. This is not fetching the child info

Views

46

Likes

0

Replies

0
Is there an easy way to extract AEM nodes into JSON
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

88 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
I am trying to run a query which fetches nodes(more than 10k) from AEM and i trying to extract that as a json.

Views

58

Likes

0

Replies

3
Felix script console(Not the groovy console)
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

88 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Hello , I am working on a script to get some nodes and save it as json in /content/dam. I. was first. testing out creating a random file in content/dam. but i keep getting this javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: resourceResolver for class. which makes sense , but All the examples like the few mentioned in here https://hashimkhan.in/aem-adobecq5-code-templates/groovy-script/ have just the import and a direct usage of...

Views

32

Likes

0

Replies

1
Size of a request header field exceeds server limit.
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

88 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Where can we find the configuration to update the request header size in AEM dispatcher?

Views

104

Likes

0

Replies

1
Betreff: Reference Unpublish and Delete
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

88 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
Thanks @markus_bulla_adobe @Ritesh_M. We have taken care of the new one's , but for the existing one , i am thinking to come up with a script or a servlet which would go ahead and unpublishes/delete the live copy. Is there an ideal way to do this?

Views

101

Likes

0

Replies

0
Reference Unpublish and Delete
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

88 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
AEMnewbie
- Adobe Experience Manager
We are currently using live copies on our site .Our requirement is to unpublish and delete the live copy references when the the master page is unpublished and delete . We noticed that in some cases , when master is delete the live references still stay on the sites page - What is the default behavior of OOTB AEM?If we use the Manage Publication to unpublish the master and its children( Assuming -Live copy references as considered as children) - And then using the delete , is the OOTB behavior s...

Views

179

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

121

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

136

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

95

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

117

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

177

Likes

0

Replies

0
Component beforeedit
Avatar
Validate 1
Level 1
AEMnewbie
Level 1

Likes

0 likes

Total Posts

88 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

321

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

88 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

100

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

88 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

145

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

88 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

196

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

144

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

167

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

153

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

241

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

88 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

182

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

88 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

238

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

88 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

197

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

88 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

208

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

88 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

394

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

187

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

204

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

265

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

300

Likes

0

Replies

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

Likes

0 likes

Total Posts

88 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

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

88 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

322

Likes

0

Replies

0