since ‎13-08-2019
‎27-10-2020
surenk
Level 2
Re: AEM 6.5 TokenUtil Deprecated
Avatar

surenk

surenk
- Adobe Experience Manager
No @srinivas_cherlamcherla , for now we are using the deprecated method on AEM 6.5 (is in our backlog to refactor).

Views

87

Likes

0

Replies

0
Error on AEM 6.5 Author when "View as published" for a SPA project
Avatar

surenk

surenk
- Adobe Experience Manager
On AEM 6.5 Author, a SPA based project.Core components 2.8.0, SPA Project Core 1.0.6 We can Edit the page but when choosing "View as Published" (either the page or experience fragment), the below error shows up (only for spa project, non-spa projects load fine).In logs.. 18.09.2020 07:41:53.462 *ERROR* [192.168.19.27 [1600440113446] GET /content/experience-fragments/myproject/en/footer/master.html HTTP/1.1] com.adobe.aem.spa.project.core.internal.impl.utils.HierarchyUtils SPA root page not found...

Views

122

Likes

0

Replies

1
Re: Cannot delete configuration using CURL on AEM 6.5
Avatar

surenk

surenk
- Adobe Experience Manager
Thanks @Jineet_Vora There is a small change to your answer but thanks for pointing me.The solution:When a user edits an OSGI config, a copy is written by AEM at `/apps/system/config` . The config needs to be deleted from here, using below command. And on deleting this, if there is code for this configuration, then the default osgi configuration is created again using the default values as specified in code.The path of the actual osgi configuration will be deployed by code at /apps/myproject/conf...

Views

92

Likes

2

Replies

0
Cannot delete configuration using CURL on AEM 6.5
Avatar

surenk

surenk
- Adobe Experience Manager
I'm trying to run a CRUL command to delete a configuration The PID is: com.myproject.aem.core.services.impl.ApiSettingsService Tried these but not working: curl -v -u admin:admin http://localhost:4502/system/console/configMgr/com.myproject.aem.core.services.impl.ApiSettingsService -d "action=DELETE" curl -v -u admin:admin -X DELETE http://localhost:4502/system/console/configMgr/com.myproject.aem.core.services.impl.ApiSettingsService curl -u admin:admin -F":operation=delete" -F":applyTo=/system/c...

Views

126

Likes

0

Replies

2
Re: How to update an existing node using CURL?
Avatar

surenk

surenk
- Adobe Experience Manager
Found the correct command. For reference:curl -u admin:admin -Fserver-name=https://new-server.com http://localhost:4502/etc/sample-node/config/endpoint

Views

87

Likes

2

Replies

0
How to update an existing node using CURL?
Avatar

surenk

surenk
- Adobe Experience Manager
How can we edit an existing value in a node using CURL? Trying to update the key value of "server-name" via CURL The below command is creating a new nodes instead of updating existing. curl -u admin:admin -F _charset_=utf-8 -F key=server-name -F value=server-name-value http://localhost:4502//etc/sample-node/config/endpoint/

Views

104

Likes

0

Replies

1
Is there an ootb way to make RTE / Multieditor required on a Content Fragment in AEM 6.5?
Avatar

surenk

surenk
- Adobe Experience Manager
Is there an out-of-the-box option to make `sling:resourceType="dam/cfm/admin/components/authoring/contenteditor/multieditor"` as "required", that we are using on a content fragment in AEM 6.5? <_x0031_589920765450 jcr:primaryType="nt:unstructured" sling:resourceType="dam/cfm/admin/components/authoring/contenteditor/multieditor" cfm-element="Header" default-mime-type="text/html" listOrder="3" metaType="text-multi" name="title" renderReadOnly="false" showEmptyInReadOnly="true" valueType="string"/>...

Views

106

Likes

0

Replies

1
Can we change the default Assets HTTP API Path /api/assets ?
Avatar

surenk

surenk
- Adobe Experience Manager
As listed in the docs https://docs.adobe.com/content/help/en/experience-manager-65/assets/extending/mac-api-assets.html to access assets using API..https://[hostname]:[port]/api.jsonhttps://[hostname]:[server]/api/assets.jsonis there a way to change the path of the default "/api/...." to be something else? Our implementation need to call (external) services that are mapped as https:///api/services (where is an aem site). and when internally calling assets' api's (to access content fragments) in...

Views

129

Likes

0

Replies

2
Re: On AEM 6.5 controls on RTE does not show up in regula...
Avatar

surenk

surenk
- Adobe Experience Manager
That'll be great to try.. can you please share Arun?

Views

163

Likes

0

Replies

0
Re: On AEM 6.5 controls on RTE does not show up in regula...
Avatar

surenk

surenk
- Adobe Experience Manager
@vanegi Using it something like this.. ...

Views

184

Like

1

Replies

0
On AEM 6.5 controls on RTE does not show up in regular view, but shows in expanded view
Avatar

surenk

surenk
- Adobe Experience Manager
Environment: AEM 6.5, SP 6.5.4, MacOs, Chrome 84.0 (On Firefox it showed once, but did not after that).While editing an experience fragment, the controls on the RTE do not show. While in expanded view they do.. what may be the issue?

Views

235

Likes

0

Replies

5
Why @ServiceRanking(60000) is required to handle the authentication request?
Avatar

surenk

surenk
- Adobe Experience Manager
We understand that we need Service Ranking to invoke services (https://helpx.adobe.com/experience-manager/using/osgi_getting_started.html) But is there any reason for using specifically "60000" ServiceRanking to invoke a custom authentication handler? We are following this https://helpx.adobe.com/experience-manager/using/twofactor64.html

Views

113

Likes

0

Replies

2
Re: AEM 6.5 TokenUtil Deprecated
Avatar

surenk

surenk
- Adobe Experience Manager
Are there any working examples? The example on docs page isn't clear. We are using something like thisAuthenticationInfo authinfo = TokenUtil.createCredentials(request, response, this.repository, userId, true);but need to update to AEM 6.5

Views

220

Likes

0

Replies

0
Re: Can we recreate anonymous user if deleted by accident?
Avatar

surenk

surenk
- Adobe Experience Manager
Thanks. I missed reading this line in docs.. "If you accidentally delete this account, it will be re-created upon startup."

Views

163

Likes

0

Replies

0
Can we recreate anonymous user if deleted by accident?
Avatar

surenk

surenk
- Adobe Experience Manager
Can we recreate the "anonymous" user on AEM 6.3, if accidentally deleted, using a curl command?Looking here: https://docs.adobe.com/content/help/en/experience-manager-64/administering/operations/curl.html#user-management

Views

221

Likes

0

Replies

5
Re: AEM 6.3 Query builder - How to search for case insens...
Avatar

surenk

surenk
- Adobe Experience Manager
Yes if there's lots of joins/rules to be applied, but unfortunately not all customers/dev-teams agree to custom code for trivial things.

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: On AEM 6.5 can we build a website with React, Core an...
Avatar

surenk

surenk
- Adobe Experience Manager
Thanks for the detailed answer @dgordon86, much appreciated

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
On AEM 6.5 can we build a website with React, Core and custom components and ability to add them to a SPA Editor?
Avatar

surenk

surenk
- Adobe Experience Manager
We wanted to build a website in AEM using a combination of React, Core and custom components. We are learning AEM SPA and not sure if we can do this? Built the base project using AEM Archetype 24-SNAPSHOT using "react" as frontend. Based on this https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-overview.html looks like we cannot add non-spa components to a SPA Editor based template.Is there any way to add regular/core components to a SPA Editor template?Wh...

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

2
Re: AEM 6.3 Query builder - How to search for case insens...
Avatar

surenk

surenk
- Adobe Experience Manager
Using `fulltext` seemed to be helping/working.path=/content/central-content/jcr:content/main/decline_letter fulltext=0091A property=@letterNumber type=nt:unstructured orderby.case=ignore fulltext may not be a good solution is we have to be searching among a lot of nodes/data. In our case, we search for a very minimal number of nodes.

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: AEM 6.3 Query builder - How to search for case insens...
Avatar

surenk

surenk
- Adobe Experience Manager
Thanks for the suggestions. We are not using any index. This is a simple use-case. There will be about 10-20 nodes of content, service needs to return the content if the letter is found.

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
AEM 6.3 Query builder - How to search for case insensitive ?
Avatar

surenk

surenk
- Adobe Experience Manager
How can we make the query to ignore case sensitivity of the `property.value` ? Using `orderby.case=ignore` is not helping. Our query:path=/content/central-content/jcr:content/main/decline_letter property.value=0091A property=@letterNumber type=nt:unstructured orderby.case=ignore

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

5
How to make components fit or wrap within a dialog?
Avatar

surenk

surenk
- Adobe Experience Manager
Components within a dialog are extending beyond the vertical scroll bar, and when we choose full-screen, a horizontal scroll bar appears allowing to view the edges of the components. How can we reduce the width of components or make them wrap within dialog box? When chosen full-screen on the dialog. Code in components > _cq_dialog > .content.xml ...

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

2
Re: How can add hep text in a component dialog on AEM 6.3?
Avatar

surenk

surenk
- Adobe Experience Manager
With @Arun_Patidar 's input, was able to solve this. Sample code (component/_cq_dialog/.content.xml):

Views

990

Likes

0

Replies

0
Re: How can add hep text in a component dialog on AEM 6.3?
Avatar

surenk

surenk
- Adobe Experience Manager
I tried that way, can you send the package of the example you did.The component-name/_cq_dialog/.content.xml:

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: How can add hep text in a component dialog on AEM 6.3?
Avatar

surenk

surenk
- Adobe Experience Manager
Thanks @Arun_Patidar but the heading is coming under each tab.. we wanted to have a common text/heading above the Tab. I think this needs a lot fo work to build a page and make Header separate and Nav separate? This page has some implementation: http://localhost:4502/editor.html/conf/we-retail/settings/wcm/templates/content-page/structure.html

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
How can add hep text in a component dialog on AEM 6.3?
Avatar

surenk

surenk
- Adobe Experience Manager
How can we add a help text above tabbed nav bar in a component dialog? Something like this..

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

5
Re: Project built with AEM Archetype 22 Fails to build -...
Avatar

surenk

surenk
- Adobe Experience Manager
Thanks. Updating the uber jar from 6.5 to 6.3.3 helped to resolve. There were some missing dependencies, that i downloaded and copied manually to .m2/repository..

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Project built with AEM Archetype 22 Fails to build - Failed to collect dependencies at io.wcm:io.wcm.testing.aem-mock.junit5:jar:2.5.2
Avatar

surenk

surenk
- Adobe Experience Manager
Built a new codebase using AEM Archetype 22. But code build (using command mvn clean install -PautoInstallPackage ) fails with the below message. How can this be resolved?Trying to deploy to AEM 6.3.3 on Windows 10 Enterprise[ERROR] Failed to execute goal on project sow3pocs.core: Could not resolve dependencies for project com.creditonebank.aem.pocs:sow3pocs.core:jar:1.0-SNAPSHOT: Failed to collect dependencies at io.wcm:io.wcm.testing.aem-mock.junit5:jar:2.5.2 -> io.wcm:io.wcm.testing.aem-mock....

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

4
Re: Lots of content - AEM Author performance issues
Avatar

surenk

surenk
- Adobe Experience Manager
We are working with them as well. There are some known issues!!

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0
Re: Cannot start AEM as a service on Ubuntu 18.04
Avatar

surenk

surenk
- Adobe Experience Manager
Was able to resolve the issue. the problem was with "java" not being available to all users. Earlier installed Oracle Java using default (ubuntu) user, while the aem script was running as root.Steps to install custom Java.. not the Ubuntu default:Download the tar.gz file "https://download.oracle.com/otn/java/jdk/8u231-b11/5b13a193868b4bf28bcb45c792fce896/jdk-8u231-linux-x64.tar.gz"Copy the file to the server using SCPMake a directory `mkdir /opt/java`Install and copy `sudo tar -zxf jdk-8u231-lin...

Views

(val/1000)?string[".0"]}K

Likes

0

Replies

0