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

prashantonkar
Community profile prashantonkar Level 4
Architect
Bengaluru, India
23 BADGES
Level 4

Level 4

Learn more
Joined the community 08-01-2018 4:29:29 AM
Online
Top badges earned by prashantonkar
Customize the badges you want to showcase on your profile
Re: Load Site Specific Dictionary
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Thanks. But I think this would still not solve the requirement of being able to load site specific i18n JSON. Is there any alternative to writing a custom servlet? /apps/proj1/i18n/en.json > has 100 keys and messages/apps/proj2/i18n/en.json > has 100 keys and messages/apps/proj3/i18n/en.json > has 100 keys and messages /libs/cq/i18n/dict.en.json loads 300 keys and messages which is not at all required. Any way to fix this?

Views

29

Likes

0

Replies

0
Re: /etc/map with filevault-package-maven-plugin in versi...
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
@Albin_Issac how to commit /etc/map nodes? They are neither accepted in ui.apps, or ui.config.

Views

152

Like

1

Replies

2
Re: Client library enhancements
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Hi @Akash_Kapoor What is needed from archetype modularity perspective? Ability to generate modular client libraries from ui.frontend folder. I am able to achieve this by making changes in webpack config and clientlib config. But it will be good to have this in archetype. What is needed from product perspective? In order to reduce the number of js/css calls in HTML, the recommended ways to load client libs is to bundle multiple clientlibs into 1 client (using embed) and load it in template level....

Views

133

Likes

0

Replies

0
Re: Client library enhancements
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
HI @Jörg_Hoh Thanks for your reply. I have been successful in achieving below feature myself: ui.frontend generates 1 single client lib - I am able to successfully modularize this using webpack and clientlib config. When clientlib is loaded at component level (instead of template level), it results in multiple JS/CSS calls in body tag - Using an interceptor I am able to load all CSS on head and all JS at the end of body tag. This has resulted in considerable performance improvement also retainin...

Views

191

Likes

0

Replies

0
Re: Skip: Deploy to dispatcher Reason: no dispatcher configuration packages
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
This error usually comes because of the symlinks which are absent in your dispatcher conf.d/enabled_hosts folder. Symlinks are similar to shortcuts in windows. But seems like windows hates symlinks. If you have copied your dispather configs from some where else, then the symlinks wouldn't have copied. Its also difficult to manualy create symlinks. If you open the symlink files in github aem archetype repo it shows like this:../available_vhosts/aem_author.vhostThis wont work.What you need to do ?...

Views

174

Likes

2

Replies

1
Re: Nested Multifield in Content Fragment - AEM 6.5 ?
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
I have tried this once and had to do a lot of customization to get it working.In your content fragment model, you need to make the change similar to this: ( i am just showing a part of CFM which I had made composite multifield. After that, used the following code to populate the data into the fields:(function ($) { var CFM = window.Dam.CFM, MASTER = "master", CFM_EDITOR_SEL = ".content-fragment-editor", CORAL_MF_ITEM = "coral-multifield-item", EAEM_COMPOSITE_ITEM_VALUE = "data-eaem-comp...

Views

360

Like

1

Replies

1
Client library enhancements
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Request for Feature Enhancement (RFE) Summary: Component specific client-library in ui.frontend project and better dependency management for client libraries. Use-case: 1. Currently, all the code written in ui.frontend will be bundled as 2 client libraries i.e: clientlib-site and vendors. These client libraries will be loaded in all pages. There is no way to selectively load only certain components OOTB. This leads to sub-optimal lighthouse scores because unused CSS and JS code on page. Hence, t...

Views

216

Likes

0

Replies

7
Re: File upload option as part of "Dialog participant ste...
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
thanks @Kautuk

Views

325

Like

1

Replies

0
Re: Load a key from specific i18n Dictionary via sightly
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
It may not solve your exact use-case, but will this be of any help?https://stackoverflow.com/questions/48619497/how-to-give-preference-to-a-particular-dictionary-in-sightly

Views

369

Like

1

Replies

0
Re: Bulk tags creation in aem from json
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
com.day.cq.tagging.TagManager.createTagByTitle(String namespace,String tagPath)This method takes complete tag path and creates the complete hierarchy of tags.

Views

441

Likes

2

Replies

0
Re: 404 resource not found with angular integration
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Are you trying integrate your angular application in AEM using SPA Editor? If yes, how are you trying to access this migrated angular app? Through AEM or through node server? If you are using node server, then proxy will work. If you are accessing through AEM, proxy may not work. You may need to add a dispatcher rule or an /etc/http redirection to handle this.

Views

239

Likes

0

Replies

0
Re: SPA react component is not rendering new code (seems stuck)
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
THere might be some errors in console or error.log files. Also please check if model.json call is returning content from AEM.

Views

348

Likes

0

Replies

0
Re: Avoid caching URLs with query paramters
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Can you elaborate how this calls are being made from your html? Are you making AJAX calls?

Views

281

Likes

0

Replies

0
Re: File upload option as part of "Dialog participant ste...
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
1. Create a component which has file upload field. You can write all your logic here on what to do with uploaded file.2. Create a dialog. Create a node items node. sling:resourceType for this node will be the path of component that you created in step 13. Create a dialog participant step. In the dialog, give the path of the dialog created in step 2.

Views

354

Like

1

Replies

3
Re: SPA react component is not rendering new code (seems stuck)
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Have you checked .env.development file? REACT_APP_ROOT should point to your home page.

Views

361

Likes

0

Replies

0
Re: Exported experience fragment content giving error while adding as offer in activity
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Have you published the content to a publish environment?

Views

188

Likes

0

Replies

0
Re: How to Choose the Right Approach When Creating Adobe Target Offers | AEM Community Blog Seeding
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
I tried the Approach 2 mentioned above. However I ran into an issue which I wasn't able to get around. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/issue-with-adobe-target-powered-personalization-when-an-activity/qaq-p/359650#M73682

Views

302

Like

1

Replies

0
Re: Microsoft Translation configuration error
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Here is the error I got in logsjava.lang.NullPointerException: nullat java.io.PrintWriter.write(Unknown Source)at com.adobe.granite.translation.connector.msft.core.impl.AccessTokenServlet.doPost(AccessTokenServlet.java:89) [com.adobe.granite.translation.connector.msft.core:1.3.24]at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146) [org.apache.sling.api:2.18.4]at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.j...

Views

360

Likes

0

Replies

0
Re: Getting error while building angular SPA with AEM 6.5...
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
As an alternative, install node and npm manually and run the following commands in the same order.In ui.frontendnpm installnpm run buildIn ui.appsmvn clean install -PautoInstallPackage.It will push both your Angular code as well as AEM code.

Views

484

Like

1

Replies

0
Re: Modify metadata asset programatically
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Just to rule out the DAM Update Asset workflow as the root cause of conflict. Can you disable the workflow and try if metadata update is happening ?

Views

365

Likes

0

Replies

0
Re: AEM - Stagger the AEM maintenance routines | Runmode...
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Yes this can be achieved. As a best practice, its better to put the configurations under project level /apps//config/

Views

263

Like

1

Replies

1
Re: SPA react component is not rendering new code (seems stuck)
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Where are you adding additional classes ?

Views

386

Likes

0

Replies

0
Re: Auto log-off a user after 30 mins of time
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
Since your requirement is site specific, you may need to write a custom login module and auth handler.

Views

294

Like

1

Replies

0
Microsoft Translation configuration error
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe Experience Manager
I am using AEM 6.5.0 on my local. I am trying to create translation configuration with microsoft as provider. I followed the following document:https://experienceleague.adobe.com/docs/experience-manager-65/administering/introduction/tc-msconf.html I am unable to successfully connect. When I enter the subscription key I created using Azure translator. I get the message "Failed to connect". Please help.

Views

420

Likes

0

Replies

2
Re: 500 Error in runtime action
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe I/O Runtime
Seems like there was an error in the token that used to make the API call. The token had expired. I created a new token and API is returning the response.

Views

387

Likes

2

Replies

1
Re: How do I send Params to my runtime action?
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe I/O Runtime
thanks duypnguyen. I am able to get the token by reading the documentation you shared. Also this link helped me too in generating a certificate and accessing it in AEM: https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/authentication/set-up-public-private-keys-for-use-with-aem-and-adobe-io.html and by using AccessTokenProvider.

Views

900

Likes

0

Replies

0
500 Error in runtime action
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe I/O Runtime
I had written a custom action on firefly template which consumes Analytics API. It was running fine until today. When I call the API, all I get is this error:{ "error": "server error" }In the console of code editor, I seeinfo: 500: server error Logs aren't updating too. Is there anything I can do to get more information on the error ?

Views

394

Like

1

Replies

2
Re: How do I send Params to my runtime action?
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe I/O Runtime
In AEM IMS configuration I don't find Adobe Analytics too. So did some digging in and created an Adobe Granite Access Token Provider and configured the client id, JWT Claims. I am not understanding how to link this to the keystore file that is present on Adobe IO Console. I think I am missing something. Is there a document which has step-by-step details?

Views

924

Likes

0

Replies

0
Re: How do I send Params to my runtime action?
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe I/O Runtime
Thanks, I will try this.

Views

939

Likes

0

Replies

0
Re: How do I send Params to my runtime action?
Avatar
Boost 25
Level 4
prashantonkar
Level 4

Likes

25 likes

Total Posts

58 posts

Correct reply

8 solutions
Top badges earned
Boost 25
Springboard
Establish
Contributor
Shape 1
View profile
prashantonkar
- Adobe I/O Runtime
@duypnguyen Now that this API is working, how do I call this API from an external application? I mean, if i have to call this api from an AEM application, should i configure IMS configuration ? I see only 4 options in the IMS configuration and I/O runtime is not one of them. Should i write my code manually to generate bearer token to call this API?

Views

961

Likes

0

Replies

0