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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Nupur_Jain
Nupur_Jain
Offline
  • 21-09-2020
    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

    Type

    Questions

    Views

    1.1K

    Like

    1

    Replies

    0
  • 21-09-2020
    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 respons...

    Type

    Questions

    Views

    682

    Likes

    2

    Replies

    0
  • 21-09-2020
    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 = slingSe...

    Type

    Questions

    Views

    1.8K

    Likes

    2

    Replies

    2
  • 16-09-2020
    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...

    Type

    Questions

    Views

    369

    Like

    1

    Replies

    0
  • 15-09-2020
    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 ...

    Type

    Questions

    Views

    489

    Like

    1

    Replies

    0
  • 14-09-2020
    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"; HttpServ...

    Type

    Questions

    Views

    488

    Like

    1

    Replies

    0
  • 14-09-2020
    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

    Type

    Questions

    Views

    419

    Like

    1

    Replies

    1
  • 04-09-2020
    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...

    Type

    Questions

    Views

    879

    Like

    1

    Replies

    2
  • 04-09-2020
    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...

    Type

    Questions

    Views

    535

    Like

    1

    Replies

    0
  • 04-09-2020
    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

    Type

    Questions

    Views

    653

    Like

    1

    Replies

    0