since ‎18-03-2019
Online
aman_goyal_15
Level 2
Re: Need Jackson Exporter JSON response within SlingModel...
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Thank You Shelly .. It is working as expected. Passing 'this' reference as an argument to mapper.valueToTree is giving the actual Jackson exported model.json response.

Views

108

Likes

0

Replies

0
Re: Need Jackson Exporter JSON response within SlingModel...
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
response is same with 'this' .. observing "Method threw 'java.lang.StackOverflowError' exception." when model factory tries to export.

Views

109

Likes

0

Replies

0
Re: Need Jackson Exporter JSON response within SlingModel...
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Attached the complete Java class in the query placeholder. Please check.

Views

149

Likes

0

Replies

0
Re: Need Jackson Exporter JSON response within SlingModel...
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Thanks for your response. Servlet is fine to expose the json once we get it. But I want to check for the approach to get the jsonString for Button2 model.

Views

126

Likes

0

Replies

0
Re: Need Jackson Exporter JSON response within SlingModel...
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Thanks for your response. Sling Model is not working when we are trying to get the Button2 object with @Self and @Via. I was checking on the @Via(type = ResourceSuperType.class), it is basically when we want to override the core component sling model. https://github.com/adobe/aem-core-wcm-components/wiki/Delegation-Pattern-for-Sling-Models#step-2-create-a-custom-sling-model-for-the-page-headline-component

Views

151

Likes

0

Replies

0
Re: Need Jackson Exporter JSON response within SlingModel...
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Thanks for your response. I tried the above approach but looks like it is not working. It is giving the null response while exporting model - String s = modelFactory.exportModel(buttonModel,ExporterConstants.SLING_MODEL_EXPORTER_NAME,String.class,options);

Views

166

Likes

0

Replies

0
Need Jackson Exporter JSON response within SlingModel Class
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Hi Team,Usecase: Need to utilize model JSON response in the component sightly file. Basically, we use Jackson Exporter to get JSON response for SlingModel but it's a servlet call on the component resource. But my requirement is to get the JSON response for SlingModel from one of the getter functions of the Sling Model. something like - @Model(adaptables = { SlingHttpServletRequest.class }, adapters = { Button2.class, ComponentExporter.class }, resourceType = Button2Impl.RESOURCE_TYPE) @Exporter(...

Views

301

Like

1

Replies

15
Re: [Webinar | March] Ask the AEM Community Expert: AEM Content Services: What, Why, and How?
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Thanks Kautuk for your response. I got the recording and I am looking for demo files/codebase, if possible.

Views

2.3K

Likes

0

Replies

0
Re: [Webinar | March] Ask the AEM Community Expert: AEM Content Services: What, Why, and How?
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Hi kautuk sahni​ - Thanks for sharing the wonderful seminar. Praveen and Mahendra mentioned to share the React AEM code base. But I didn't find that link. Could you help and share the link.

Views

2.3K

Likes

0

Replies

2
Re: Issue with Azure Blob Store integration as AEM data Store
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Hi joydeepmt,Did you get any luck to find the solution of this issue? I am also facing the same issue. Could you please help me out here.Thanks

Views

1.2K

Likes

0

Replies

0
Ignoring ordered property jcr:content/metadata/dc:title of type STRINGS for path /content/dam/sample.pdf as multivalued ordered property not supported
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Hi All,After content migration from AEM6.2 to AEM6.4, I started the instance. Then AEM starts reindexing the repository.While repository indexing was happening, I found few same kind of warning logs as below -2019-04-02 15:19:36 618 *WARN* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneDocumentMaker [/oak:index/damAssetLucene] Ignoring ordered property jcr:content/metadata/dc:title of type STRINGS for path /content/dam/sample/asset1.pdf as multivalued ordered pro...

Views

2.4K

Likes

2

Replies

2
Re: 6.4 Upgrade Issue | AuthenticationSupport service missing
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Gaurav, CRX bundles are up .. Also, I did try with .cfg to .config but same error.

Views

8.5K

Likes

0

Replies

1
Re: 6.4 Upgrade Issue | AuthenticationSupport service missing
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Kunal, Thanks for the suggestion. I tried auto installation but didn't work. Checked Error logs but didn't find anything getting installed.

Views

8.5K

Likes

0

Replies

0
6.4 Upgrade Issue | AuthenticationSupport service missing
Avatar

aman_goyal_15

aman_goyal_15
- Adobe Experience Manager
Hi All,We are upgrading our AEM from version 6.2 to version 6.4 with InPlace Upgrade approach.Issue : Not able to access CRXDE tool i.e. neither crx/de nor crx/packmgr/index.jsp Getting HTTP ERROR: 503Error Log Snippet – FYI - Found 17 bundles in installed state. Checked about those installed bundles, most of these bundles are related to AEM forms. For AEM 6.4 , Adobe provided a package AEM-Forms-6.4.3.0-LX-5.1.42.zip to upgrade the AEM forms and make it compatible to AEM 6.4. Since crx/packmgr/...

Views

8.9K

Likes

0

Replies

6
Likes from