Nupur_Jain
Community profile Nupur_Jain MVP
Senior Software Engineer
Noida
21 BADGES
MVP

MVP

Learn more
Joined the community 07-04-2016 12:09:32 AM
Offline
Top badges earned by Nupur_Jain
Customize the badges you want to showcase on your profile
Re: Access Page Manager API with postman
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @iamjeeva You can look into the Page manager api sample examples. Here is the refrence : https://www.programcreek.com/java-api-examples/?api=com.day.cq.wcm.api.PageManager Thanks,Nupur

Views

387

Like

1

Replies

0
Re: content-length is missing in html response header in...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @onkarh71407069 /clientheaders is not for adding headers to response but to allow headers to pass to publisher iinstance from request. Could you check if you have enabled caching html headers on dispatcher. If a request is being served from dispatcher and headers are not being cached, the response headers will miss the actual response headers. To enable header caching, add /headers section to /cache section like/cache { ... /headers { "Cache-Control" "Content-Disposition" "Content-Type" "Expi...

Views

282

Likes

2

Replies

0
Re: check author or publish instance from java
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @kiranc13433869 You can use SlingSettingService to check author or publish mode. Check this sample java code if it helps:import com.day.cq.commons.Externalizer; // If using in sling model @Inject SlingSettingsService slingSettingsService; private boolean isAuthorRunMode() { Set runModes = slingSettingsService.getRunModes(); return runModes.contains(Externalizer.AUTHOR); } Hope it helps!Thanks!Nupur

Views

571

Likes

2

Replies

1
Re: Author Access Rights for my website
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @Heena06 In order to user to have access to dashboards, user must have read access to root heirarchy. the user then be able to access sites and assets. You can then especically remove access to /home or /system if required but for dashboards to works, read access is required. I would also suggest to create project specific author group and allocate permissions to that group first. You can then add users to this group. This makes user management easy. Hope it helps!Thanks!Nupur

Views

220

Like

1

Replies

0
Re: AEM Utility to Decrypt Password in AEM?
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @bsr78033597 There is no OOTB option to decrypt the encrpted text from consoles. I would suggest if you really need this flexibility, you can do following:Register servlet using resourceTypeIn servlet, you can pass encrypted text as some param like etextyou can decrypt text in the servlet itself using Crypto Service and return the result as response like @Reference private CryptoSupport cryptoSupport; @Override protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse res...

Views

238

Like

1

Replies

0
Re: How can I fetch the output in json format from DAM pa...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager Assets
Hi @ashishg1547773 You can also use SlingRequestProcessor Library. It requires AEM system user to make a request similar to HTTP request. The system user must have access to path where you are making a request. You can take a look at the sample code: String assetUrl = assetPath + ".1.json"; HttpServletRequest request = requestResponseFactory.createRequest("GET", assetUrl); request.setAttribute(WCMMode.REQUEST_ATTRIBUTE_NAME, WCMMode.DISABLED); ByteArrayOutputStream out = new ByteArrayOutputStrea...

Views

229

Like

1

Replies

0
Re: Service accounts are not listing in AEM Publish under...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @saibul Could you first check using crx/de if the accounts exist on publish or not? The users/group on publish and author can differ and there is a possibility that they don't exist on publish. Thanks,Nupur

Views

233

Like

1

Replies

1
Re: Passing cookie value to data-sly-use without using Us...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @v1101 If you want to pass value from clientside to serverside, session storage can never be an option as it is clientside and can not be accessed serverside. You can use cookie as the cookie values are passed to serverside via "cookie" request header. In order to get the value of cookie. You can use use api to get cookie value and then pass it to your sling model like this cookie.js use(function () { var cookieValue = request.getCookie("cookiename"); return { cvalue : cookieValue };}); HTL ...

Views

362

Like

1

Replies

2
Re: DAM assets renditions delete
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @AEMnewbie There is no tool as such to delete renditions of assets from AEM, but you can write your own servlet/service which does this for you. You can run this servlet/service once and iterate over dam hierarchy to remove renditions from assets.You can use DAM assets API https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/day/cq/dam/api/Asset.html to remove renditions.Also, do make sure if you don't need renditions for assets in future, you ...

Views

248

Like

1

Replies

0
Re: Editable Template
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @Heena06 Can you check if there is no clientlibs included which is setting the background to black color and affecting other elements? Thanks!Nupur

Views

266

Like

1

Replies

0
Re: How to include files of one clientlib into another cl...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @saurabh_intel What I am able to understand is that you want to include one clientlib into another. For this, you will have to use "embed" feature of clientlibs i.e used to embed code from other libraries. If clinetlibs F embeds clinetlibs G and H, the resulting js and css files included in the html will be a concetration of js and css from clinetlibs G and H. To embed clientlibs, mention clientlibs name in the "embed" property on your site cq:ClinetlibraryFolder like this:[cq:ClientLibraryFo...

Views

284

Like

1

Replies

1
Re: extract other child component's properties in current...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @psrpjayaem With HTL, you can extract first the parent of the current component that is footer. Then you can extract header resource from parent resource like this: OR----------------------------------------- Here resource represents the current resource. resource.parent basically call getParent method of resource api and provide you with parent resource. you can both the options and whatever fits your usecase better, you can try. Hope it Helps!Thanks

Views

257

Like

1

Replies

1
Re: aem ui
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @biswaranjan1 Clientlibs are used for maintaing css and js in AEM. In order to change page UI, you will have to create project specific css and keep css files in clientlibs anf then the clientlibs can be included in HTL or JSP. You can refer 1. https://docs.adobe.com/content/help/en/experience-manager-65/developing/introduction/clientlibs.html2. https://blogs.adobe.com/experiencedelivers/experience-management/htl-clientlibs/ Hope it helps!ThanksNupur

Views

97

Like

1

Replies

0
Re: How to Get Unique ID of Component HTML
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @sagrawal You can use component name as a identifier to append after each portal ID like where component is the global HTL object. The HTMl after the change will be generated like Hope it helps!Thanks!Nupur

Views

496

Likes

2

Replies

0
Re: Touch UI CSS class
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @ashishkhadpe Just like .cq-wcm-edit, there is a class ". aem-AuthorLayer-Edit" added to node of the page added in iframe in Touch UI mode. You can easily use this class to replace classic based css. Hope it helps!Thanks!Nupur

Views

280

Likes

2

Replies

1
Re: Equivalent Touch UI class for .cq-wcm-edit
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @ashishkhadpe Just like .cq-wcm-edit, there is a class ". aem-AuthorLayer-Edit" added to node of the page added in iframe in Touch UI mode. You can easily use this class to replace classic based css. Hope it helps!Thanks!Nupur

Views

232

Like

1

Replies

0
Re: Wait for first workflow to finish before starting second
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @troubleshooter3 if thats the case, I think you should register Event listener for the modification of node. Once the event gets triggered, you can call second workflow on the onEvent method of the java event class. Refer https://helpx.adobe.com/experience-manager/using/aem64_event_listener.html to read more about AEM event capturing in java. Thanks,Nupur

Views

334

Likes

0

Replies

0
Re: Wait for first workflow to finish before starting second
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
HI @troubleshooter3 you have two different workflows, why not start second workflow model when first workflow model finishes. for this, there is "Container Step" component which you can drop as first workflow's last step and configure which workflow you want to start next. Refer https://docs.adobe.com/content/help/en/experience-manager-64/developing/extending-aem/extending-workflows/workflows-step-ref.html#container-step to understand container step. Hope it helps!Thanks!Nupur

Views

356

Likes

2

Replies

2
Re: Query Builder - Search multiple properties with AND/O...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @troubleshooter3 Your Query builder query should look like this path=/test/12 1_property=property1 1_property.value=value1 group.p.or=true group.2_property=property2 group.2_property.value=value2 group.3_property=property3 group.3_property.value=value3 if I am able to understand your requirment correctly. The above query should return path where property1 should be equal to value1 and either of the other two properties must be same as given value i.e property2=value2 or property3=value3. Hope...

Views

234

Likes

4

Replies

1
Re: Get Current User who invokes particular step in the w...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @JJ_JayantJain You can use getInitiator() method of Workflow API to get the user ID of the user who started the workflow. Refer https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/adobe/granite/workflow/exec/Workflow.html API to get to know more about this particular method. String getInitiator() Returns the initiator of the Workflow instance. Returns: The user who initiated the Workflow. Hope it helps!Thanks!Nupur

Views

231

Likes

2

Replies

1
Re: Advertising Cloud Community Quiz | August 2020 | Participate Now!
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Advertising Cloud
Q104. Targeting

Views

1.9K

Likes

0

Replies

0
Re: sling:orderBefore not working on overlay node /libs/c...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @bsr060893  Is there any error while installing the package?

Views

386

Likes

0

Replies

0
Re: (Announcement) Meet our new talented Adobe Experience League MVP from AEM Community
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Thank you @Singh_Jagpreet 🙂 It's an honour to be part of Adobe's MVP team.

Views

1.1K

Likes

3

Replies

0
Re: sling:orderBefore not working on overlay node /libs/c...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @bsr060893 which version of AEM are you using?I tried and it worked for me. Thanks!Nupur

Views

409

Like

1

Replies

3
Re: Two more questions remain in this Quiz! Here is the quest...
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Advertising Cloud
Q92. Look and feel like it matches the surrounding content3. Native ads can also appear on social media

Views

1.9K

Likes

0

Replies

0
Re: Advertising Cloud Community Quiz | August 2020 | Participate Now!
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Advertising Cloud
Q83. Automate inventory selling

Views

1.8K

Likes

0

Replies

0
Re: Aem dispatcher.log size surges suddenly
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager Forms
Hi @karthikfordreal You should check for few things on why the logs are filling at this rate:Check if the log level for dispatcher logs is ERROR, not DEBUG or TRACE. TRace can produce a lot of lines of log for a single request. Log level can be changed from httpd.conf or apache2.conf file by changing dispatcher global configuration DispatcherConfig conf/dispatcher.any DispatcherLog logs/dispatcher.log DispatcherLogLevel 0 DispatcherNoServerHeader 0 DispatcherDeclineRoot 0 DispatcherUseProcessed...

Views

255

Like

1

Replies

0
Re: How to find particular image log exists on what pages using SQL2 query?
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @touseefk2181136 SQ2 to search for image References with particular image can be searched with SELECT * FROM [nt:unstructured] AS node WHERE ISDESCENDANTNODE (node, '/content/we-retail') AND node.[imageReference] = '/content/dam/we-retail/en/activities/climbing/indoor-practicing.jpg' The above query will search for all the paths where imageReference is present.I would say if you want to search for logo imageReference specifically, you can also add sling:resourceType of the logo as well in the...

Views

345

Like

1

Replies

0
Re: Advertising Cloud Community Quiz | August 2020 | Participate Now!
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Advertising Cloud
Q71. Country targeting2. Demographic targeting3. Keyword targeting5. Device targeting

Views

1.8K

Likes

0

Replies

0
Re: Internationalisation
Avatar
Establish
MVP
Nupur_Jain
MVP

Likes

165 likes

Total Posts

186 posts

Correct reply

76 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 25
View profile
Nupur_Jain
- Adobe Experience Manager
Hi @imadullakhan For AEM maintains string translation in the form of keys and values that is i18n keys. You should start with Adobe documentation on internalisation https://docs.adobe.com/content/help/en/experience-manager-65/developing/components/internationalization/i18n-dev.html. I would also suggest to go through these to understand the whole solution better:https://docs.adobe.com/content/help/en/experience-manager-65/developing/components/internationalization/i18n-extract.htmlhttps://docs.a...

Views

326

Likes

2

Replies

1