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

SivaPrasadReddyS
Community profile SivaPrasadReddyS Level 8
AEM Lead consultant
Netherlands
32 BADGES
Level 8

Level 8

Learn more
Joined the community 07-11-2012 6:47:12 AM
Online
Top badges earned by SivaPrasadReddyS
Customize the badges you want to showcase on your profile
Re: Anonymous user is showing after successful authentication
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@khushbu16anand on below url you can find lot of info /references on similar topic. https://wttech.blog/blog/2019/how-to-setup-aem-publish-saml-authentication-using-okta/ https://www.bounteous.com/insights/2018/09/24/single-sign-sso-integration-okta-aem-63/ So you may check and see if that helps you to debug your issue.

Views

43

Like

1

Replies

1
Re: sending sling model values to servlet in aem 6.5
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Still it's not clear to me the reason why you want to use servlet, but you can simply try with osgi service and achieve similar: 1. Create Interface: public interface ISampleService { testMethod(Strig args);}2. Create service: @Component(service = ISampleService.class,immediate=true)public class SampleService { testMethod(Strig args){ //write logic } } 3. Call OSGI service from sling model: public class SlingModel{@OSGiServiceprivate ISammpleService sampleService; @PostConstructprotected void in...

Views

41

Likes

2

Replies

0
Re: How to import the templates from /conf into IntelliJ or VSCode?
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
You can follow below videos where you can find step by step details on how to sync code between AEM & Intellij/Visual studio/Eclipse. I always follow this doc and works for me 🙂 https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-loc... Time stamps: for Intellij Repo setup: https://github.com/Adobe-Marketing-Cloud/tools/tree/master/repo#installation Once you setup Repo, then you can easily sync content between. Hope this docs help you.

Views

21

Likes

2

Replies

0
Re: How to close the gap between CRXDE and the code base
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@infiniteshi You can follow below videos where you can find step by step details on how to sync code between AEM & Intellij/Visual studio/Eclipse. I always follow this doc and works for me 🙂 https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-local-aem-development-environment.html?lang=en#intellij-idea Time stamps: for Intellij Repo setup: https://github.com/Adobe-Marketing-Cloud/tools/tree/master/repo#installation Once you setup Repo, then you can e...

Views

14

Like

1

Replies

0
Re: sending sling model values to servlet in aem 6.5
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@kattakiran1990 What is the reason you want to pass values from sling model to servlet ? If you really want to use servlet, as @manikanthar1295 suggested, you can try below using request / resource resolver. SlingModel model = request.adaptTo(SlingModel.class);Or SlingModel model = resourceResolver.adaptTo(SlingModel.class);

Views

53

Likes

2

Replies

2
Re: How to open Putty Session on local host
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Option 1: If you're on windows, you can use power shell to run the script on your local.https://www.howtogeek.com/662611/9-ways-to-open-powershell-in-windows-10/ Putty allow users to remotely access computers over SSH and run scripts, commands etc. If you want to test some script on your local then you don't need putty. Option 2: Place the script on any lower environments like dev/QA. Install putty on local and connect the server and execute script from putty.

Views

19

Like

1

Replies

0
Re: How to access AEM page timeline through programmatically
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
can you please share what exactly you're trying to do with timelines? so that i can share some code snippet.

Views

39

Like

1

Replies

1
Re: How to access AEM page timeline through programmatically
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@koteswarar33345 please check below API and see if that works for you:https://www.adobe.io/experience-manager/reference-materials/6-5/javadoc/index.html?com/adobe/granite/timeline/Timeline.html

Views

44

Like

1

Replies

3
Re: Unable to create a new blueprint - 6.5.10
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Good to hear that it worked for you as well. Looks like the way it extracts the jar & store it on file system makes some difference but it is still an open question to me as well 🙂

Views

19

Like

1

Replies

0
Re: Unable to create a new blueprint - 6.5.10
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@BattiniSravan Is this your new local AEM setup?Do you have read, write access for folder where your instance is running?I did have similar issues sometime back and on Mac, I had to install AEM through command line for the first time & later on you can run whatever the way you want.java -Xmx1024M -jar aem-author-p6502.jarIf its the new local, you may try to install AEM with command line and see if that resolves the issue.

Views

29

Like

1

Replies

2
Re: Local publish can't see published content from author
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@wkk52586 one quick question, did you also deploy the code to publisher instance? In order to see the page content on publisher, make sure both author & publisher has same code based installed.

Views

72

Like

1

Replies

0
Re: record limit
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
could you please add more info like how this table is created? is it a form on page? etc..

Views

13

Like

1

Replies

1
Re: Best practices to get Most popular FAQs
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Thanks for the reply @sanketd27011989 .Yes adding count or rank at the page properties is one option but if we go with this approach, author has to keep on monitoring most visited pages and update page properties every time.Another challenge is , since we have hundreds of FAQ pages so we always need to maintain the data of ranking and keep adjusting ranking & republish the pages. so checking if there is an option to reduce manual efforts or suggestions if anyone has come across similar use case.

Views

19

Like

1

Replies

0
Re: Getting 403 forbidden error while uploading image to DAM
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
If you have issue with admin user itself then you will not work for test user as the user is part of admin group.Looks like something is wrong. Since you're sayings it's dev environment, is any of other dev users able to upload assets ? If so can you compare the access with working user ids? did you check error log and see if you can find any error in the logs? one last thing, create new test user and give Read, Modify, Create, Delete access at the user itself instead of adding the user into adm...

Views

51

Like

1

Replies

1
Re: provide 301 redirect in aem 6.5
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Nope @Anoop345 , You don't need to create redirects-map.txt in author instance. 1. If you follow http://www.sgaemsolutions.com/2020/01/handing-301-redirection-in-aem-using.html , redirects map txt will be generated automatically on author instance, and then publish the same redirects map page so that redirect map.txt can be accessed with publish url. 2. Then write custom script and place it on dispatcher. The scripts will download the redirectsmap.txt file from publisher and store it in dispatch...

Views

45

Likes

0

Replies

0
Re: Getting 403 forbidden error while uploading image to DAM
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Interesting @phampi 1. are you able to upload assets with admin user?2. can you try to create new test user and see how it works?

Views

59

Like

1

Replies

3
Re: I want to do a path check in Model Class
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
did you try to print the log in the model and see whether you're getting page details in the log or not? so that you know whether it's an issue with sling model or issue at HTL level. I've both postconstruct and SlingHttpServletRequest.class adaptable in my test model and works for me: @Model(adaptables = {SlingHttpServletRequest.class, Resource.class })@Injectprivate Page currentPage;private String pagePath;private String pageName;private String pageTitle;@PostConstructprotected void init() { l...

Views

43

Like

1

Replies

1
Re: I want to do a path check in Model Class
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
I could simply get the page name, path and title with sling model itself. it works on both experience fragments as well as page. @Injectprivate Page currentPage;private String pagePath;private String pageName;private String pageTitle;@PostConstructprotected void init() { log.debug("** Start of sling Model **"); pagePath = currentPage.getPath(); pageName =currentPage.getName(); pageTitle = currentPage.getPageTitle();} Could you please elaborate on requirement? I see you mentioned "Now I want to m...

Views

56

Like

1

Replies

4
Re: Getting 403 forbidden error while uploading image to DAM
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
1. Is the user part of any other groups other than admin?2. does the user able to upload any other OOTB DAM folder paths?3. can you please share the screenshot with user permissions if possible by striking out client information?

Views

96

Like

1

Replies

5
Re: Getting 403 forbidden error while uploading image to DAM
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Hi @phampi you can verify below:1. Go to http://:/useradmin2. Navigate to the user - Permissions tab and verify the user has Read, Modify , Create access on the DAM path where the user is trying to upload image.Example : 3. Verify whether any of groups (where the user is part of) doesn't have access to the DAM path.

Views

106

Like

1

Replies

7
Re: I need to update device properties which is under the commerce node but I am not getting the properties (p) option on my local instance
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Since it's not an issue with permissions and works for we-retail too, I think you can double check the custom code or compare with test environment where it's working and see what is missing on your local. Few check lists like: 1. acs commons versions2. customisation code3. AEM version4. Core components versions etc..

Views

19

Likes

0

Replies

1
Re: I need to update device properties which is under the commerce node but I am not getting the properties (p) option on my local instance
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
if you've given jcr:all under /etc then it may not an issue with permissions. it's the issue in your local only or any other environments?

Views

28

Likes

0

Replies

3
Re: I need to update device properties which is under the commerce node but I am not getting the properties (p) option on my local instance
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
If you're using admin user, then it shouldn't be an issue with permissions. It looks good to me on my local with we-retail products. Did you try to access we-retail products and check whether you can see Properties option or not?Also, in my local, the url starts with /var http://localhost:4502/libs/commerce/gui/content/products.html/var/commerce/products In your screenshot i see its started with /etc/ . Do you have any customisations made for this? can you please share the AEM version you're usi...

Views

37

Likes

0

Replies

5
Best practices to get Most popular FAQs
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Hello All, We have a use case where we need to display Most popular questions (top 5 FAQ pages list) on support page. Note: List should be dynamically updated based on page visits.Background: We have hundreds of FAQ Pages for the site and on the support home page, we wanted to list top 5 questions based on page visits. Is it possible to do with Adobe Target? what are the best practices to get most popular FAQ pages based on page visits. Appreciate for the suggestions.

Views

48

Likes

0

Replies

2
Re: Autofilling blank properties with 'undefined' value
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@kaltavskii do you have this issue for the page properties or in component within live copy?

Views

15

Likes

0

Replies

1
Re: How to get the path of page
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Hi @Ronnie09 Please try this: @Model(adaptables = {Resource.class })Public class Model{ @Injectprivate Page currentPage;private String pagePath;@PostConstructprotected void init() {log.debug("** Start of sling Model **"); pagePath = currentPage.getPath();}}

Views

25

Likes

0

Replies

0
Re: I am getting js error
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
Just to understand bit more, is this fresh AEM instance ? are you using required version of core components?can you also check we-retail pages and see if you get same error there if you have it on your instance?

Views

49

Like

1

Replies

1
Re: I need to update device properties which is under the commerce node but I am not getting the properties (p) option on my local instance
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@Abhishekty , Did you check whether the user access Modify access on your local or not? Also try with admin user and see how it works? so that we can know whether it's something related with permissions.

Views

58

Like

1

Replies

7
Re: Query - List only one level of child pages
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@SonuR1 you can add path.flat=true which would list only direct child pages. path.flat=trueIf true searches only the direct children . please try below http://localhost:4502/bin/querybuilder.json?type=cq:Page&path=/content/xyz&orderby=@jcr:title&path.flat=true FYI: https://github.com/paulrohrbeck/aem-links/blob/master/querybuilder_cheatsheet.md Also, i'm not sure about exact requirement, but you can also try getting direct child pages using API instead of query. https://www.tabnine.com/code/java...

Views

32

Like

1

Replies

1
Re: How to import date and set node.
Avatar
Give Back 100
Level 8
SivaPrasadReddyS
Level 8

Likes

120 likes

Total Posts

195 posts

Correct reply

34 solutions
Top badges earned
Give Back 100
Validate 25
Ignite 40
Boost 25
View profile
SivaPrasadReddyS
- Adobe Experience Manager
@hptarora did you try like this? DateFormat inputFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'+00:00'"); you can change DateFormat pattern as per your requirement. https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html java.util.Date date = inputFormat.parse(inputDate); Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT"));calendar.setTime(date); chContent.setProperty("customDate",calendar);

Views

16

Like

1

Replies

0