since ‎07-03-2013
‎07-04-2020
Dinu_Arya
Level 4
How to get login-token generated using TokenUtil Dinu_Arya - Adobe Experience Manager
Hi Team, I need to get login-token which is generated using TokenUtil upon creation. I'm using the below method to create it. I need it in the very next step of the below method call-public static AuthenticationInfo createCredentials(HttpServletRequest request, HttpServletResponse response, SlingRepository repository, String userId, boolean httpOnly) Please help me in this. Is there any way to get it without admin login? Thanks,AryA
874
Views
0
Likes
2
Answers and Comments
i18n are not getting updated through translator Dinu_Arya - Adobe Experience Manager
Hi Team,I'm trying to update an i18n message through translator (http://localhost:4502/libs/cq/i18n/translator.html ) but the updated message is not getting reflected in CRXDE (/etc/designs/mi/i18n/modules/en). It has above 300 i18n keys under it.It is getting updated under other folders. Is there any limit for i18n keys? Why are they not getting updated? Please help me in this,Thanks,AryA
571
Views
0
Likes
0
Replies
Why POST call doesn't work within AEM? Dinu_Arya - Adobe Experience Manager
@For security reasons I would like to use POST call in passing the data from one AEM page to another AEM page. When I do a POST call, I'm getting the below error. What is the exact reason behind this and why it is not allowed to do POST call within AEM? Any other work around from front-end? Please let me know.Status 500Message org.apache.sling.api.resource.PersistenceException: Resource at '/content/myapp/en' is not modifiable.kautuk sahni​ edubey​ @Jörg Hoh
1907
Views
0
Likes
3
Replies
AEM linkchecker Dinu_Arya - Adobe Experience Manager
Hi Team,I'm trying to find out the broken links in my site using com.day.cq.rewriter.linkchecker.LinkInfoStorage.getLinks() but it is giving only returning the external links. I need the internal broken links also. Please let me know how can I find them using any of AEM API. Please let me know how LinkInfoStorage's getLinks() work. Why is it not returning the broken internal links?Please help me in this.Thanks,AryA
609
Views
1
Like
1
Answers and Comments
Re: Utility to convert AEM 6.4 multifield node into JSON format Dinu_Arya - Adobe Experience Manager
You can achieve this using sling models very easily-@Model(adaptables=Resource.class)public class MyModel { @Inject private List addresses;}Here addresses the node name under which the multi-field nodes are getting saved+- addresses | +- address1 | +- address2Refer:Apache Sling :: Sling Models
799
Views
1
Like
0
Answers
Re: Change runmode of existing AEM instance Dinu_Arya - Adobe Experience Manager
Go crx-quickstart/bin folder. Open start.bat file for windows and start(.sh) file for linux. change the run mode from author to publish then start AEM using command prompt.Double click on start.bat file(Windows) or run ./start (linux)
1480
Views
1
Like
0
Answers
Re: How get page properties of a specific page? using template? or path=?¿? Dinu_Arya - Adobe Experience Manager
You should use the C page's path. First you should convert the C page's path to a resource then adapt it to Page or Node to get the jcr:title property. You can use Sightly's JavaScript Use API by passing page C's path and the required property (jcr:title).or try below${resolver.getResource('/path/to/page/C/jcr:content')['jcr:title']}if the above one doesn't work,try 1st step.
678
Views
1
Like
0
Answers
Re: AEM 6.3 migration osgi bundle whitelist error-osgi-service is NOT whitelisted to use SlingRepository.loginAdministrative Dinu_Arya - Adobe Experience Manager
Is there any other way to fix this issue without white listing the bundle? In my code, I'm using the system user to get the resource resolver but still I'm getting the same issue. Any idea?
10038
Views
1
Like
0
Replies
AEM6.4 Workflow launcher is not loading Dinu_Arya - Adobe Experience Manager
Hi Team,We have migrated AEM 6.2 to AEM 6.4. In author, launcher is not getting displayed. In console, we are getting 500 error.Any idea?Thanks,AryA
3411
Views
0
Likes
4
Replies
Re: How to set convenience variables in sightly? Dinu_Arya - Adobe Experience Manager
Will it work in AEM 6.2 or only in 6.4?
4091
Views
1
Like
0
Answers
Re: Cookie is not getting created through dispatcher Dinu_Arya - Adobe Experience Manager Forms
You can create cookie either from front end using document.cookie or in the back-end using servlet
1653
Views
1
Like
0
Replies
Issue with cookies Dinu_Arya - Adobe Experience Manager
Hi Team,As part of authentication (custom authentication handler) we are creating some cookies from server side. The cookies are http and Secured in one environment and neither http nor secured in another environment.Do you have any idea why they are getting created like this?Please help me in this.Thanks,AryA
539
Views
0
Likes
1
Answers and Comments
Getting errors with aemfd-client-sdk 6.2.0 and 1.2.0 Dinu_Arya - Adobe Experience Manager
Hi Team,I have included the bundle from https://repo.adobe.com/nexus/content/groups/public/com/adobe/aemfd/aemfd-client-sdk/6.2.0/ But still, I'm getting the below errors after deployment-I followed Adobe Experience Manager Help | Using AEM Document Services Programmatically document to create digital signature.I'm using AEM6.2. Is there any way to resolve the above dependencies? Using either maven dependencies or including jar file.Please help me in this.Thanks,AryA
811
Views
0
Likes
1
Replies
Caching CUG pages with Akamai Dinu_Arya - Adobe Experience Manager
Hi Team,How can we cache CUG enabled pages? We have integrated with Akamai.Please suggest.Thanks,AryA.
1267
Views
1
Like
2
Replies
Exclude pages from etc map Dinu_Arya - Adobe Experience Manager
Hi Team,Is there any way to exclude some pages from /etc/map configuration so that I can get the full URL of the page but not the short URLs?E.g.Structure: /content/myproject/set1 and /content/myproject/set2I don't want the pages under /content/myproject/set2 to be shortened.Is it possible?Please let me know.Thanks,AryA.
945
Views
0
Likes
1
Replies
i18n message is not appearing properly in translator for Arabic language Dinu_Arya - Adobe Experience Manager
Hi Team,I'm trying set an Arabic language word in i18n translator but it is not appearing in the expected way.Please find the below details -Actual Text: Text that is appearing in the i18n translator: إلى الشرق الأوسط (الكويت - عمان - الإمارات - السعودية والبحرين)The brackets are not in the correct mannerAny idea why it is behaving like this? I just now tried to paste the actual text here but as soon as I pasted the Arabic text here, it is automatically converted as the text that mentioned in Te...
787
Views
0
Likes
1
Replies
CUG access denied response code Dinu_Arya - Adobe Experience Manager
Hi Team,I have setup CUG in my local environment. I have created 2 groups and 2 users. I assigned the groups to 2 pages say page1 and page2. Now user1 accessed page1 and after login user1 is redirected to page1. Now the user1 accessed page2. He is getting "Page not found" this might be because of 404 response code. 404 is when the accessed resource (ideally page) is not available. But here it is there but the user (user1) doesn't have access to the page. We would like to display message like "Ac...
912
Views
0
Likes
2
Answers and Comments
Re: omniauth integration with AEM Dinu_Arya - Adobe Experience Manager
It's okay. It happens
741
Views
0
Likes
0
Answers
omniauth integration with AEM Dinu_Arya - Adobe Experience Manager
Hi Team,I have to integrate omniauth with AEM. I didn't find any documentation related to this.Any idea how to do this?Thanks,AryA.
854
Views
1
Like
4
Answers and Comments
Cookie is not getting created through dispatcher Dinu_Arya - Adobe Experience Manager Forms
Hi Team,I have to create a cookie based the page which is opened. It is getting created in publish instance. But when I accessed the same page through dispatcher, the cookie is not getting created. I have seen this thread - CQ dispatcher - Cookie issue . As per this we shouldn't cache pages, but my pages should cached.Is there any way to create cookie through dispatcher by allowing the respective cookie names using any of the dispatcher configuration rules?I'm using AEM 6.2.Please help me in thi...
2318
Views
0
Likes
4
Replies
Re: How to create osgi config node for Factory services Dinu_Arya - Adobe Experience Manager
Hi Scott,Whatever I have added in the osgi config node, they are not reflecting in web console.
887
Views
1
Like
0
Answers
How to create osgi config node for Factory services Dinu_Arya - Adobe Experience Manager
Hi Team,I have to set a system user (serviceuser) for my project so I tried to create osgi config node for org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl with the name org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-myprojectI have added the below properties -service.ranking which is set to empty and later tried with 0 & 75000user.mapping which is set to com.mycompany.myproject-bundle:writeService=serviceuserI followed discussion there in https://forums.ado...
2954
Views
1
Like
8
Answers and Comments
How to extend login-token expiration time programmatically? Dinu_Arya - Adobe Experience Manager
Hi Team,I have requirement to extend login-token expiration time based on some condition. Is there any way to extend the expiration time programmatically instead of configuring it through Apache Jackrabbit Oak TokenConfiguration service?Please let me know.Thanks,AryA.
417
Views
0
Likes
0
Answers and Comments
Form is not getting submitted in dispatcher Dinu_Arya - Adobe Experience Manager
Hi Team,We have created AEM forms and they are getting submitted successfully in publish but not in dispatcher.In dispatcher while submitting the form, we are getting the below alert -[AF] [AEM-AF-901-004]: Encountered an internal error while submitting the formOn click of submit button we observed the below call in Network tab -/content/forms/af////jcr:content/guideContainer.af.internalsubmit.jspPlease let me know do I need to change any configuration in the dispatcher.Thanks,AryA.
2029
Views
0
Likes
4
Answers and Comments
Re: Scheduling in workflow Dinu_Arya - Adobe Experience Manager
Team, Any updates?
5623
Views
1
Like
1
Replies
Re: Page Level Variable Dinu_Arya - Adobe Experience Manager
Add your property (foo) to your site's base page/home page properties under which authors create site content. Then get that property value wherever you need (like other components) using the below code -InheritanceValueMap basePageProperties = new HierarchyNodeInheritanceValueMap(currentPage.getContentResource());String foo = basePageProperties.getInherited("foo", String.class);Here you need to pass the current page's resource. Make sure that your global property name should be unique. It will ...
884
Views
1
Like
0
Answers
Re: How to set default value to multi-valued OSGi property? Dinu_Arya - Adobe Experience Manager
Hi Scott,Whatever I posted executed correctly. Because of some build issues, it didn't work earlier. Now its working fine.Thanks,AryA.
950
Views
1
Like
0
Answers
Scheduling in workflow Dinu_Arya - Adobe Experience Manager
Hi Team,I'm working on AEM6.2. I need to perform some action at a scheduled point of time using workflows. For that I have added one process step and in that step - I have selected Timeout as Immediate and Timeout Handler as Absolute Time Auto Advancer. I unchecked the "Handler Advance" property as well. Also I have absoluteTimeout property on metadata node (/etc/workflow/instances/server0/2016-12-21/my-scheduled-workflow_22/data/metaData) absoluteTimeString1482336000000But the next step is exec...
6176
Views
0
Likes
5
Replies
How to set default value to multi-valued OSGi property? Dinu_Arya - Adobe Experience Manager
Hi Team,I have added a multi-valued property and set the default value to the property like below -@Property(name = "recipientsEmailIDs", cardinality = Integer.MAX_VALUE, unbounded = PropertyUnbounded.ARRAY, label = "Recipient Email ID(s)", value = {"contentapprover@domain.com"}, description = "Provide the recipients email ids")But I didn't get the default value in OSGi configuration. I'm working in AEM6.2 version.Please help me in this.Thanks,AryA.
2138
Views
0
Likes
2
Answers and Comments
Re: How to use custom email template in a workflow step? Dinu_Arya - Adobe Experience Manager
Thanks Scott. Thanks for your help in offline too.
814
Views
0
Likes
0
Answers