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
BedrockMission!

Learn More

View all

Sign in to view all badges

Prince_Shivhare
Community profile Prince_Shivhare Level 7
Technical Lead
Pune
27 BADGES
Level 7

Level 7

Learn more
Joined the community 09-09-2016 11:48:27 PM
Online
Top badges earned by Prince_Shivhare
Customize the badges you want to showcase on your profile
Re: System User AEM Cloud
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
It is not a best practice to deploy the system user with code or package.I had the same problem earlier and we discussed the same thing with Adobe techincal team and they suggested about the REPOINT.I rasied this question on forum and got the answer. you can refer this url -https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-as-a-cloud-system-user/qaq-p/408773/comment-id/89812#M89812

Views

40

Likes

2

Replies

0
Re: acs-aem-commons-ui.apps:4.11.0 giving me CQBP-84 Crit...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
We had the same problem, but then the Adobe team suggested us to ignore the errors until and unless it is very critical. because those are warning and not breaking the deployment.

Views

44

Like

1

Replies

1
Re: AEM cloud Touch UI Console Customization
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
I am overriding this - /libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar

Views

55

Likes

0

Replies

1
Re: AEM cloud Touch UI Console Customization
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
No Error on logs, once build is successful then failing during deployment.

Views

65

Likes

0

Replies

0
AEM cloud Touch UI Console Customization
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi All,I am trying to customize the touch ui console of AEM cloud.I tried overlaying libs to apps and imported into repository code but git cloud deployment is getting failed.we know that we can not modify anything under /apps and /libs though the package. Is there any way we can achieve it?

Views

109

Likes

2

Replies

5
Re: Edit mode on Page for Experience fragements Header
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
This code worked for me.If you have experience fragment and want to check wcmmode on non-experience fragment page and you want to make everything work properly in edit mode, with ?wcmmode=disabled and without ?wcmmode( Live Url), then - function getCookie(name) { var dc = document.cookie; var prefix = name + "="; var begin = dc.indexOf("; " + prefix); if (begin == -1) { begin = dc.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; var end = document.cookie.indexOf(";", begin); if...

Views

50

Likes

2

Replies

0
Re: Resource is returning Null from Sling Model class in...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
can you please re-check whatever you are configuring on the dialog is configured on the JSON file?there should not be any variable miss inside the json.

Views

98

Like

1

Replies

0
Re: Sling rendering fails after a few builds
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
it would be difficult to find or predict the issue without the logs. can you try replicating it?

Views

221

Like

1

Replies

0
Re: Sling rendering fails after a few builds
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Can you please check error.log?which can help us to find the exact error.

Views

233

Like

1

Replies

4
Re: Edit mode on Page for Experience fragements Header
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
That is I already tried, but no luck,

Views

85

Likes

0

Replies

0
Edit mode on Page for Experience fragements Header
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi All,I want to get the edit mode of the page for a header which is an Experience fragment.I am trying ${wcmmode.edit}, but every time I am getting false in the author URL.Can anyone help me here how can I get the edit mode of the page in the Header.Thanks

Views

139

Like

1

Replies

4
Re: AEM 6.5 org.apache.sling.api.SlingException: Cannot g...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi @chitranshs90502 , Can you please send a full-stack strace. there you will be able to find "caused by-" which can help to find the issue. Thanks,Prince

Views

121

Like

1

Replies

2
Re: How to get the page path using page url
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
if you are getting a url in string format, you can use the same Java Net Url to get the path from specific url. the same way which i have mentioned below.

Views

96

Likes

0

Replies

0
Re: How to get the page path using page url
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi @keerthana_hn If you are using sling models, then using the resource you can get the path of a specific node.you can use resource.getPath();If you have a page URL then you can use it like this - URL url1=new URL("http://localhost:4502/content/share/coke/en/light/report-template/file_report_template.html?wcmmode=..."); url1.getPath();

Views

86

Like

1

Replies

0
AEM as a cloud System user
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi All,\We are facing an issue in the dev environment, where repoint script is not working.We have productfeed folder created inside /etc, now the scheduler has been created to save in this path.but it is not working in dev environment.I have added a configuration-org.apache.sling.jcr.repoinit.RepositoryInitializer-project.config scripts=[ " create service user systemuser set ACL for systemuser allow jcr:read on /etc restriction(rep:glob,/productfeed) allow jcr:write on /etc restriction(rep:glob...

Views

108

Like

1

Replies

1
Re: Using graph api to send email
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hey @cqbeginner Can you please confirm why you don't want to use the day cq mail service?I wanted to understand the use case for using outlook api.Thanks,Prince

Views

91

Like

1

Replies

2
Re: Magento Commerce Enabled AEM 6.5.7 clientlibs not loa...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
if it is Magento lower environment endpoint, then you can try hitting the endpoint appending /graphql without https, it should work.

Views

58

Likes

0

Replies

0
Re: does anyone knows, did AEM6.1 support allowproxy ?
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
we required to allow proxy true when we are putting clientlibs under /app to make etc.clientibs. and moving clientlibs is not introduced in 6.1. hence it is not required also it won't work. Thanks,Prince

Views

90

Likes

2

Replies

0
Re: org.apache.sling.api.SlingException: Cannot get Defau...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
can you put some screenshots here to understand the problem? may be that can help.

Views

215

Like

1

Replies

0
Re: org.apache.sling.api.SlingException: Cannot get Defau...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Can you let me know which component you are trying? also why are you not adding the component using parsys or responsive grid?

Views

235

Like

1

Replies

0
Re: org.apache.sling.api.SlingException: Cannot get Defau...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Are you using any custom model class ? have you created this Model class ? or you are just dragging and dropping the component which is not created by you?

Views

252

Like

1

Replies

0
Re: org.apache.sling.api.SlingException: Cannot get Defau...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Sorry I missed it, you have issue on OOTB models class right ? Can you confirm if you bundle is in active state ?

Views

421

Like

1

Replies

0
Re: org.apache.sling.api.SlingException: Cannot get Defau...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi @Codelime ,Error is - Could not inject all required fields into classPlease make the fields as optional like this - @Model(adaptables = {Resource.class,SlingHttpServletRequest.class}, adapters = Header.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)Thanks,Prince

Views

442

Likes

3

Replies

13
Re: Magento Commerce Enabled AEM 6.5.7 clientlibs not loa...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi @anupammaiti , I don't think there is a relation between clientlib and /graphql endpoint.Setting up the CIF add-on project won't affect the clientlib. it should load properly. can you please confirm if you are getting this issue in the author or publisher environment?can you try hitting http://localhost:4502/commerce.html and see if you are able to see the products.if not then configuration in cloud service is not done properly. when you are giving localhost:4502/magento/graphql then make sur...

Views

109

Likes

2

Replies

2
Re: Current Date & Time using HTL
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
It's always best practice to use the sling models. so that you can use more OOTB Apis to get the date and time.Please visit this link - https://github.com/adobe/htl-spec/blob/master/SPECIFICATION.md#1222-dates 1.2.2.2. DatesDate formatting supports timezones and localisation. In case internationalisation is also specified (i18n), it will be applied to the formatting pattern and the locale will be passed forward to formatting. ${'yyyy-MM-dd' @ format=myDate} ${'yyyy-MM-dd' @ format=myDate, type='...

Views

107

Likes

2

Replies

0
Re: AEM Project Git Setup
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi @Heena91 , Can you please confirm if you are using the AEM cloud.If yes, then you will have to ask the Adobe team to set up on cloud level. once it is done, you can upload the same project in your client repo. and accordingly, sync the repository between cloud and Client repo. If not cloud, then simply follow the step provided by the @asutosh_jena . Thanks,Prince

Views

95

Likes

3

Replies

0
Re: Products images sync between AEM & Magento
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Hi @neeleshk1333067 Can you please confirm if you are using CIF add on to connect with Magento OR you are using httpclient URL connection to connect with Magento? If connecting using the CIF add on - please look into this article - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content-and-commerce/storefront/getting-started.html?lang=en#additional-resources You will have to start AEM with CIF add on. If connecting Magento using the HttpConnection - you will have to sen...

Views

115

Like

1

Replies

1
Re: Fetching image component using a relative path
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
I think we can achieve it using the iterator?Using the sling models, we can iterate the child nodes and find the node which you want.and then we can use that path. Thanks,Prince

Views

82

Like

1

Replies

0
Re: how to view/modify OSGi configs in cloud, as /system/...
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
Yes, we cannot do any changes related to config manager in higher environment.We can push it only by code repo.however you can verify it by developer console and select option as a text.and search the config name. Thanks,Prince

Views

199

Like

1

Replies

0
Re: Sling servlets doesn't work for txt extension
Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
- Adobe Experience Manager
my suggestion would be not to use the SCR annotation becasue it is depricated now.Please use the OSGI annotations.org.osgi.service.component.annotations.Component;@Component(service = Servlet.class, property = { Constants.SERVICE_DESCRIPTION + "=JSON Servlet to read the data from the external webservice", "sling.servlet.methods=" + HttpConstants.METHOD_GET, "sling.servlet.paths=" + "/bin/SimpleServlet"})public class SimpleServlet extends SlingSafeMethodsServlet {

Views

108

Like

1

Replies

0