since ‎13-08-2020
Online
Nikhil-Kumar
MVP
Re: How to extend ResponsiveGrid in React SPA
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
Try checking https://www.npmjs.com/package/@adobe/aem-react-editable-components or raise a day care ticket if possible.

Views

246

Likes

0

Replies

0
Re: How to extend ResponsiveGrid in React SPA
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@Grimm1 Similar issue was raised in https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/include-responsivegrid-component-in-angular-spa-aem-6-5/qaq-p/329893It shows the implementation in Angular for responsiveGrid, Can you try using the same in React as well? MapIt to the OOTB responsivegrid component in react i.e. wcm/foundation/components/responsivegridLet me know if it works!!!Thanks,Nikhil

Views

257

Likes

2

Replies

2
Re: AEM 6.5 SPA React component with datasource in dialog
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@hussains7950461 Best way to create a datasource and use it as part of React props is to create a datapage in you site hierarchy and export the JSON of the datasource using Sling Model Exporter and use it as part of React props.We are implementing something similar in our current implementation.Thanks,Nikhil

Views

83

Like

1

Replies

0
Re: How to extend ResponsiveGrid in React SPA
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@Grimm1 I was also looking for something like this, extending responsivegrid and customizing it.The reason why we can't do so is that SPA templates doesn't render non SPA or any existing OOTB component.Now sure how we can achieve this but I guess should create a Responsive grid React component and by using mapTo statement, mapping it to AEM overlayed component under /apps/project/content/components and do some customization in React component itself. As far as I know we can't do any customizatio...

Views

236

Like

1

Replies

0
Re: Search setup in AEM 6.5
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
You get a trail period of 15 days or so, you can play around the dashboard the integration and later opt for the enterprise level setup based on the plan as per your requirement.

Views

144

Likes

0

Replies

0
Re: Search setup in AEM 6.5
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@lk08 To be precise there are two types of Elastic implementation:1. Elastic site search:Here you have to setup the elastic server and index data using REST API calls2. Elastic search as a Service:This is something new that came up recently when Elastic collaborated with Swiftype. Here we have a dasboard and a login Id. Where you can login and using App ID you can index the data and see it on the dashboard. It's quite easy to use and implement.I have written a article on second topic i.e, Elasti...

Views

170

Likes

2

Replies

2
Re: Dialogs with Multifield in SPA Editor - Angular
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@claudiab1560191 Multifield data won't be available in JSON exported by default.You need to create a separate class for the fields which are there in multifield,Inject the resource of the multifield in the main model class and adapt the multifiled java class in the main model class.Thanks,Nikhil

Views

149

Likes

0

Replies

0
Re: AEM version and dependency to SPA projects on GitHub
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@erlingklaeboe As compared to 6.4.x and 6.5.5 following are the changes that I observed as part of SPA Editor.1. Now editable templates are available to use in 6.5.52. Due to the availability of the Editable templates we can have runtime CSS ataached.3. Experience Fragment is enabled in SPA editor.Thanks,Nikhil

Views

94

Likes

0

Replies

0
Re: SPA react components author
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@daf99 Developing React with AEM component is really straight forward too.You can start going through the WKND example available online i.e https://docs.adobe.com/content/help/en/experience-manager-learn/spa-react-tutorial/create-project.htmlYou can also refer my article on the same, I have provided initial integration of AEM and React component.Thanks,Nikhil

Views

91

Like

1

Replies

0
Re: SPA Server Side approach
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager Forms
@sumantap8752196 We also faced the similar issue regarding the size of the JSON as higher the number the pages, higher will be the :children array set and more time it takes.Try setting up Gzip at the server level and try caching the JSON at Cloud Front.Gzip compression helped us reducing the size of the JSON loaded thereby reduce the load time.Also, try to raise a day care ticket and check with the Adobe Team as well.Thanks,Nikhil

Views

145

Likes

0

Replies

0
Re: Permission on Experience Fragment
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@Shaheena_Sk I think this is the expected behavior, because if you refer my structure when I gave permission to the root folder it went until the follder where I have the experince fragment page which is using exp fragment template. So which by defaults provides permission to it's child as well.You no need to check the checkbox for the permission to these pages with exp frag template.If you verify the access it should work with that user.Thanks,Nikhil

Views

165

Likes

2

Replies

1
Re: Permission on Experience Fragment
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@Shaheena_Sk I see similar issue at https://github.com/Netcentric/accesscontroltool/issues/368Not sure what's the reason is.

Views

159

Like

1

Replies

1
Re: How to get login-token generated using TokenUtil
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@Dinu_Arya Seems like whitelisting is the only way. https://stackoverflow.com/questions/50054862/using-tokenutil-to-create-credentials-in-aem-6-3Try raising a day care ticket with Adobe.Thanks,Nikhil

Views

67

Likes

0

Replies

0
Re: AEM Pattern Detector
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@jag01 Try removing the older version of ACS AEM Commons that you were using it for AEM 6.3 and use instead use the latest one may be 4.8.2Thanks,Nikhil

Views

72

Likes

0

Replies

0
Re: receiving a random script in case of 404 error
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@Riten Can you share the error that you are getting and where exactly it comes up ?Thanks,Nikhil Kumar

Views

137

Like

1

Replies

0
Re: ui.frontend: Why are clientlib-dependencies and clien...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@JonMaguire Refer the below link of latest archetype where the clientlibs clientlib-dependencies and clientlib-site inside ui.frontend.general in clientlib.config.js file.If you don't have ui.frontend.general then look inside ui.frontend.https://github.com/adobe/aem-project-archetype/blob/master/src/main/archetype/ui.frontend.general/clientlib.config.jsI am not sure we can customize it's functionality or not.Hope this helps!!Thanks,Nikhil

Views

128

Like

1

Replies

0
Re: Call a Custom workflow on hit of activate button
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@ranjitha29 I assume you are able to select the custom workflow that you have created while activating the workflow. Is so simply activating a page won’t trigger your custom workflow. You need to add your custom workflow as part of activation trigger by going to properties. https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Fscottsdigitalcommunity.blogspot.ca%2F2013%2F09%2Fcreating-workflows-for-adobe-experience You can also try using event listener while activation of page.https://help...

Views

136

Like

1

Replies

0
Re: ui.frontend: Why are clientlib-dependencies and clien...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
Then you should update the config file which is minifying it. And the clientlibs that you mentioned above are the OOTB generated clientlibs. If you want add any further code customisation, I suggest you to go ahead with creating a new clientlib.

Views

156

Likes

0

Replies

0
Re: ui.frontend: Why are clientlib-dependencies and clien...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
You can update in configuration file inside the react-app folder’s config.js.

Views

166

Likes

0

Replies

0
Re: ui.frontend: Why are clientlib-dependencies and clien...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
You can create your own clientlib and add its category as part of editable templates policy and add this clientlib as dependency to the existing react app’s clientlib.

Views

169

Likes

0

Replies

0
Re: Annotation not working on pages without layout container
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
Which version of AEM are you using, In my current AEM architecture which is on AEM as clous SDK parsys ideally comes inside Layout container. I guess better approach would be to go with the parsys inside layout-container and then annotate the component.

Views

193

Likes

0

Replies

0
Re: Can redirect a page to a page with alias name?
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@gayatrik8153299 Try using etc mapping in publisher http://blog.magmalabs.io/2016/07/26/how-to-use-internal-redirects-in-aem.html.Thanks,Nikhil

Views

205

Like

1

Replies

0
Re: ui.frontend: Why are clientlib-dependencies and clien...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@JonMaguire As per my understanding these clientlibs are created when code is built and deployed and it's content mostly varies on build.It's something like Node Modules in react which is never committed in GIT and is a part of build of build process.So, if this is the case I think there is any need to commit it as part of the code in Git.Thanks,Nikhil

Views

196

Like

1

Replies

5
Re: How to set environmental variables and call it from a...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@mohamedn4455443 As mentioned by @Andrei_Dantsou , setup the OSGI configuration and use the following code in case of getting runmodes in model or component class: @Reference private static SlingSettingsService slingSettingsService;slingSettingsService.getRunModes().contains("prod") ---> For productionslingSettingsService.getRunModes().contains("dev") ----> for developmentThanks,Nikhil

Views

221

Likes

2

Replies

3
Re: After upgrade to SP 6.4.8.1 login/logout option is mi...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@pegr69 Never encountered such issue.@kautuk_sahni @Veena_Vikram @Jörg_Hoh Can you guys provide your inputs ?

Views

248

Likes

0

Replies

0
Re: Error while reading DAM
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
Try using this, as we are accessing some file placed in DAM we do need a authenticated service user to do so.

Views

132

Likes

0

Replies

0
Re: Not able to see Workflow Model in aem 6.5
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@tushaar_srivastava - Are you able to see it in classic version ?

Views

425

Like

1

Replies

1
Re: Error while reading DAM
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@lk08 Try reading it using service user. You can create a systme user by going to /crx/exlporer and then later assign the read/write permissions in /useradmin Once you are done creating the user, try the resolverFactory code to get the resource resolver and then resource out of it.Map param = new HashMap<>();param.put(ResourceResolverFactory.SUBSERVICE, "serviceUser");ResourceResolver resourceResolver = resolverFactory.getServiceResourceResolver(param);Happy Coding!!Thanks,Nikhil

Views

143

Likes

3

Replies

3
Re: I want to reomve all the invalid external links and i...
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@kranthivulpe Trying writing some custom groovy scripts to get the data in one go. You can refer my article on developing groovy scripts in AEM.Also you can try the reference report of ACS commons to get the referenced links. Thanks,Nikhil

Views

148

Likes

2

Replies

0
Re: Annotation not working on pages without layout container
Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
- Adobe Experience Manager
@manisha594391 Refer this link for Annotation in AEM https://helpx.adobe.com/in/experience-manager/6-3/sites/authoring/using/annotations.html

Views

219

Like

1

Replies

2