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

asutosh_jena
Community profile asutosh_jena Level 10
Senior AEM Developer
Bangalore
24 BADGES
Level 10

Level 10

Learn more
Joined the community 10-07-2016 10:21:37 PM
Offline
Top badges earned by asutosh_jena
Customize the badges you want to showcase on your profile
Re: osgi config file not working (not appearing in config...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @TB3dock In felix console navigate to Status -> Sling Setting else navigate to http://localhost:4502/system/console/status-slingsettings URLIt will have a poperty as Run ModesRun Modes = [s7connect, crx3, author, samplecontent, crx3tar] If you have only the above values, then the config should work. If you have dev in the above entry then it will be considered as the development environemnt and config.author.dev runmode will be picked.

Views

9

Likes

0

Replies

0
Re: Sling servlets doesn't work for txt extension
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @pradeepd1320668 Please use the below code:@Component(service = Servlet.class, property = {"process.label=Some Servlet", Constants.SERVICE_DESCRIPTION + "=Some Servlet"})@@SlingServletResourceType(resourceTypes = "test/components/page/blankpage", methods = HttpConstants.METHOD_GET, extensions = "txt", selectors = "something")public class TestServlet extends SlingSafeMethodsServlet { //Rest of code}Here is a detailed exampale with video:http://www.sgaemsolutions.com/2017/12/apache-sling-servle...

Views

13

Likes

0

Replies

0
Re: osgi config file not working (not appearing in config...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @TB3dock Your configuration is created under config.author.dev which will be used only for the developement author environment./myapp.ui.config/src/main/content/jcr_root/apps/myapp/osgiconfig/config.author.dev/com.adobe.granite.cors.impl.CORSPolicyImpl-myapp.cfg.json if your current instance is running on dev, author runmode, you will be able to see the above config under system/console/configMgr, else it will not be picked by the instance even though it is present under /apps/myapp/osgiconfi...

Views

36

Likes

0

Replies

2
Re: To find all the nearby locations(latitude and longitu...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @RkR_F5 HiPlease go through the below article:http://theoryapp.com/store-locator-using-java/The basic idea is as below:Design a Store class, and load all data into an ArrayList of Stores.Ask the user for an address, and find its geographical location.Scan through the ArrayList of all stores to find the closest one.Please note this will use the google geo API. Thanks!

Views

12

Likes

0

Replies

0
Re: Content Migration - Templates problem
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @AD-Engineer Templates and template related settings are stored under /conf/{your-project}/settings/wcm node in crx and the same should be checked in via code which will be kept under ui.content package as per the latest maven archetype code. if you are making any change to the template, and then deploying the code and the updated changes are not available in your code, then the build will remove all the changes that you have made on the server. So everytime you make any changes to the templa...

Views

17

Likes

0

Replies

0
Re: Workflow Models in Common Repository Restructuring in...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @ariesyinn This is your browser URL where you need to switch to the other URL as mentioned in the document.https://experienceleague.adobe.com/docs/experience-manager-64/deploying/restructuring/all-repository-restructuring-in-aem-6-4.html?lang=en#workflow-instancesThen Enable Edit mode in the Workflow Model Editor which will copy the Workflow Model definition to /conf/global/workflow/models. Thanks!

Views

6

Likes

0

Replies

0
Re: AEM 6.5 Query Builder or CRX Query Tool not returning...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @jovidiaz Oak index will be stored under /oak:index in repository. You can package it from working instance and install it in the non working instance. Thanks!

Views

13

Likes

0

Replies

0
Re: User must select drop down box twice to select - Adob...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
HI @HypatiasMom I will suggest to post this question in Adobe Document Cloud Community here:https://community.adobe.com/t5/acrobat/bd-p/acrobat?page=1&sort=latest_replies&filter=all Thanks!

Views

7

Likes

0

Replies

0
Re: Allow only authenticated users to access website pages
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @baoyu_li As you have mentioned the identity provider is an external system, you can go ahead with the form based authentication process if you have a login page. Let's say you are using OKTA as the external system, then User will need to submit the form by providing the user details and you will need to call to OKTA API to authenticate the user.Now OKTA will return a session token which you can encrypt in AEM using the crypto support and then store it in a cookie. Post successful login, ever...

Views

14

Likes

0

Replies

0
Re: Invalid incursion selector issue in AEM 6.5
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @shajiahmed Please check if all the services that you are using in your servlet are resolving properly and all are in active state. All the services needs to be active. Thanks!

Views

23

Likes

0

Replies

1
Re: AEM 6.5 Query Builder or CRX Query Tool not returning...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @jovidiaz Have you tried to reindex using the oak tool using the steps mentioned here:https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/administration/use-oak-run-jar-to-manage-indexes.html?lang=en#oak-run.jar-index-command-basics If still this did not resolve the issue, try to copy the index from the working instance and put it on your instance and retry. Thanks!

Views

34

Like

1

Replies

2
Re: Editable Templates with existing static template is n...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
HI @venugarg6 Please see the detailed explanation of how to create the dynamic template in AEM.http://www.sgaemsolutions.com/2017/09/dynamic-editable-templates-in-aem-63.html Thanks!

Views

42

Likes

0

Replies

1
Re: Component beforeedit
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Yes you are correct.

Views

26

Likes

0

Replies

0
Re: pattern detector issue
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @manikanthar1295 Yes you are correct.If you are running on AEM 6.1 and planning for 6.4 then you need to run on AEM 6.1 Thanks

Views

40

Likes

0

Replies

0
Re: pattern detector issue
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
HI @manikanthar1295 When you run the pattern detector, it will give a text file report showing which all components are not compatible and requires your attention before you proceed for migration. I don't think you have ran the PD completely as this process just completed in 5sec! Just run it one more time and if you see the same results then it means all good with your exisitng components and you do not have to make any changes to the component. Thanks!

Views

60

Likes

0

Replies

0
Re: servlet and cors
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @TB3dock You can use something like below. Wherever we see some random number that is considered as a factory config.com.adobe.granite.cors.impl.CORSPolicyImpl~yourproject.cfg.json and the content can be: { "supportscredentials":true, "exposedheaders":[ "" ], "supportedmethods":[ "GET", "HEAD", "POST" ], "alloworigin":[ "" ], "maxage:Integer":1800, "alloworiginregexp":[ "http://localhost:.*" ], "allowedpaths":[ ".*" ], "supportedheaders":[ "Origin", "Accept", "X-Requested-With", "Content-Type...

Views

48

Likes

0

Replies

0
Re: pattern detector issue
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @manikanthar1295 Pattern detector can be downloaded from https://experience.adobe.com/#/downloads/content/software-distribution/en/aem.html?package=/content/software-distribution/en/details.html/content/dam/aem/public/adobe/packages/cq640/compatpack/pd-all-aem64You should have adobe portal login access to download from here. Else you can download from my google drive here:https://drive.google.com/file/d/1i186aMZr_nxpnkMLH9tKKFmng3nzEww0/view?usp=sharing Also the pattern detector needs to be r...

Views

84

Like

1

Replies

4
Re: servlet and cors
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @TB3dock Here the exmaples are provided with XML. But if you want to use in AEM as Cloud, you can use the same as JSON and it can be stored under the osgi config folder where you kept all other OSGi configurations. You need to add the your localhost:3000 to your allowedorigin property and it will allow you to make calls. Thanks

Views

68

Like

1

Replies

2
Re: Why I am getting Status 401 in response of an API req...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
HI @madhavimaheshwari Try with only the below parameters with GET request. select Authorization type as "Basic Auth" and provide the credentials.remove www-authenticate header.

Views

30

Like

1

Replies

0
Re: Why I am getting Status 401 in response of an API req...
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @madhavimaheshwari I see you are making a GET call while passing the credentials. You need to make the POST call and it will resolve the issue.The same thing i have mentioned earlier in my above post as well.

Views

64

Likes

0

Replies

0
Re: Component beforeedit
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
I just tried and can see the code executed.alert("Hi") 

Views

87

Likes

0

Replies

0
Re: Component beforeedit
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @AEMnewbie Please see an article on the listeners explained very well with example:http://www.sgaemsolutions.com/2019/01/ootbcustom-cqlisteners-in-cqeditconfig.html Hope this helps!Thanks

Views

107

Like

1

Replies

4
Re: Adobe Analytics for SEO onsite reporting.
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @cadebiegel Adobe Analytics can be configured for AEM websites so that, when someone interacts with the pages, events are sent to Adobe Analytics from which reports are generated. Your Visitor Profile reports (Geo, Technology, etc) and Traffic sources reports (assuming you have outside traffic do your dev site and your internal URLs are set up correctly), clicks, indexed pages, device type such as desktop, mobile and the time spent on each page are all "Out of the Box"reports and can be viewe...

Views

24

Like

1

Replies

0
Re: Local AEM instance won't start (500 error)
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @Codelime Check the docker-compose.yaml or docker command which launched the container to see if a drive was mounted in a specific way. See if you have something like:C:\opt\aem\author\crx-quickstartor may be like:C:\opt\cq Else you need to check with the person who has setup the AEM instance for you to identify the location.

Views

61

Like

1

Replies

0
Re: Local AEM instance won't start (500 error)
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Do you know where the AEM jar file is present. How are you starting the instance? You need to look for sling.properties file in the file system.

Views

68

Like

1

Replies

0
Re: Local AEM instance won't start (500 error)
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @Codelime Please navigate to http://localhost:4502/system/console/status-slingsettingsand check for Sling Home URL property which will give you the location of the AEM installation. Navigate to the crx-quickstart/conf folder from the above location i.e. the AEM installation location and look for sling.properties file.In the sling.properties file look for sling.bootdelegation.sun=sun.*,com.sun.*and replace it with sling.bootdelegation.sun=sun.*,com.sun.*,jdk.internal.reflect,jdk.internal.refle...

Views

73

Like

1

Replies

0
Re: Local AEM instance won't start (500 error)
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Which version of Java are you running with?

Views

67

Like

1

Replies

0
Re: Local AEM instance won't start (500 error)
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Do you see all the bundles in active state here?http://localhost:4502/system/console/bundles

Views

113

Like

1

Replies

0
Re: Local AEM instance won't start (500 error)
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @Codelime It is not in crx/de. It will be in the file system where your AEM binary is installed and running.If you still don't fine then try the below URL and check:http://localhost:4502/system/console/slinglog/tailer.txt?tail=10000&grep=*&name=%2Flogs%2Ferror.log Thanks!

Views

114

Like

1

Replies

0
Re: Migration from 6.1 to 6.4 steps
Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

372 likes

Total Posts

474 posts

Correct Reply

134 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
- Adobe Experience Manager
Hi @manikanthar1295 Make sure you run all the pre-upgrade and maintenance tasks before the upgrade.https://helpx.adobe.com/ca/experience-manager/6-4/sites/deploying/using/in-place-upgrade.htmlWatch the upgrade.log while running content migration and check for any errors. You should not proceed till you observe no errors.When starting the AEM instance for the first time after replacing the jar, tail the error.log to check for any errors. List of deprecated APIs:https://helpx.adobe.com/experience-...

Views

57

Like

1

Replies

0