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

Andrei_Dantsou
Community profile Andrei_Dantsou Level 4
Job title here
Location here
15 BADGES
Level 4

Level 4

Learn more
Joined the community 21-08-2020 2:15:39 AM
Offline
Top badges earned by Andrei_Dantsou
Customize the badges you want to showcase on your profile
Re: Content Migration - Redirect URL with same hostname
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hi @sivas13911460,The exact path should be used with the ProxyPass: ProxyPass "/store/abc.html" "http://www.siteb.com/home/abc.html" Alternatively, if a regex is required, then the ProxyPassMatch directive should be considered https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypassmatchRegards

Views

315

Likes

0

Replies

0
Re: can we do ajax call of a servlet registered with reso...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @AdobeID24,1. The servlet should be registered with the desired resource type:@SlingServletResourceTypes( resourceTypes = "/bin/target-resource-type", methods = HttpConstants.METHOD_GET)public class SimpleServlet extends SlingAllMethodsServlet {2. The resource with the corresponding resource type should be created, e.g. /content/trigger-servlet containing the property sling:resourceType with the value /bin/target-resource-type 3. The path of the resource from the point #2 should be request...

Views

796

Likes

2

Replies

1
Re: Content Migration - Redirect URL with same hostname
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @sivas13911460,You can use either the RewriteRule directive with the P flag (https://httpd.apache.org/docs/2.4/rewrite/flags.html#flag_p) or the ProxyPass directive (https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass).The ProxyPass, however, is preferable from the performance point of view. Regards

Views

334

Likes

2

Replies

1
Make Touch UI based components development easier | AEM Authoring Toolkit
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
With the onset of AEM 6.x, Adobe introduced a new modern-looking authoring framework known as touch-oriented interface or Touch UI. Its underlying Granite framework delivers excellent options for authoring on any type of device. You can arrange complex editing dialogs however you like, enjoy the same experience on any device and/or breakpoint, and implement most of the logic in the inline editing mode. AEM 6.x has got all the power and dashing good looks of the Coral 3.0 interface.But there is a...

Views

614

Likes

2

Replies

1
Re: Remove list of pages using groovy script
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @gayatrik8153299 ,If your goal is to remove pages by the paths from the list, you can just iterate through the list with paths, get nodes and remove them (no querying is required): def list =["/content/we-retail/us/en/test1","/content/we-retail/be/en/test1","/content/we-retail/us/en/test2","/content/we-retail/be/en/test2"] list.each { path -> def node = getNode(path); node.remove(); println "removed:"+path } session.save() or using Resource API: def list =["/content/we-retail/us/en/test1",...

Views

570

Like

1

Replies

0
Re: AEM 6.5 standalone installation error
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @DIPEN_SEN_,Could you please share some more ERROR messages from the logs which were outputted before/after the message you've provided initially? If any of them contained SegmentNotFoundException, it would indicate presence of repository/segment store inconsistency.To fix that the following steps should be taken (please see the link for reference):1. Download a version of oak-run that matches your oak core version from https://mvnrepository.com/artifact/org.apache.jackrabbit/oak-run2. Run...

Views

872

Like

1

Replies

3
Re: 404 error in a higher environment when accessing serv...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @binoyp,First of all, you should ensure that the servlet is available on Publish of the desired environment. If the servlet is available on Publish, then you should check Dispatcher config containing "filter" section to ensure that the servlet path is allowed there, please see https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html#defining-a-filter for more details./filter { /xxxx { /type "allow" /url "/servlet/path" } }Regards

Views

294

Like

1

Replies

0
Re: SPA App deployment with classic profile
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
@mrobinson ,The classic profile can be found in the tutorial code repo:https://github.com/adobe/aem-guides-wknd-spa/blob/React/create-project-start/all/pom.xmlhttps://github.com/adobe/aem-guides-wknd-spa/blob/React/create-project-start/core/pom.xmlRegards

Views

406

Like

1

Replies

1
Re: SPA App deployment with classic profile
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @mrobinson,The AEM project archetype (https://github.com/adobe/aem-project-archetype) doesn't include the mentioned profile by default. In order to make your profile available for the build, it should be specified in the "profiles" section of your pom.xml. Please see the documentation for more details about profiles definition.Regards

Views

413

Like

1

Replies

1
Re: AEM Assets (6.5.4) Error Handling for all extensions
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @abinav_98 ,You should specify the content type in ResponseStatus404.java as well:public void activate() throws Exception { getResponse().setStatus(404); getResponse().setContentType("text/html");} Regards

Views

324

Likes

2

Replies

1
Re: HTTP ERROR 503 (Problem accessing /crx/de. Reason: Se...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @tushaar_srivastava,The 503 error occurs due to the fact that the service is stopping. You should wait while the instance is completely stopped and to start it again. The steps for stopping/starting an instance using the scripts located under /bin (crx-quickstart/bin folder in your case) are described in the documentationhttps://docs.adobe.com/content/help/en/experience-manager-64/deploying/deploying/command-line-start-and-stop.htmlRegards

Views

1.1K

Likes

2

Replies

0
Re: Common Config folder not activating osgi component
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
@Adilmo,your understanding is correct - if a config is not present neither in config.author.dev nor in config.author, it should be take from the config folder. If your goal is to apply the configuration from the config folder via deployment of a maven project, then please make sure that the desired config is not present in more specific folders (config.author.dev, config.author) and you might also need to remove the config from /apps/system/config and crx-quickstart/launchpad/config prior to the...

Views

364

Likes

0

Replies

0
Re: Common Config folder not activating osgi component
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @Adilmo,The behavior you've described is expected, since if there are several config folders with multiple run modes combined, the most specific one is applied. In your case config.author.dev has a priority over just config or config.author. More details about config resolution order can be found here (please see the "Resolution of multiple Run Modes" section).The documentation suggests using sling:folder for managing OSGI configs. Differences between sling:folder and nt:folder (please see...

Views

381

Like

1

Replies

2
Re: [ERROR] Failed to execute goal com.day.jcr.vault:cont...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @danilo-delfio ,The error indicates that the AEM instance is not accessible for package installation.Please ensure you have an instance of AEM running locally on port 4502 and you have the corresponding port specified in pom.xml:4502 Regards

Views

3.3K

Likes

5

Replies

1
Re: Do not cache custom FAQ component
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hi @dipu2,As per your previous message, the resource on Publish is , whereas on Dispatcher the path is /content/referencesite/us/en/faq/_jcr_content/root/container/container/faq.nocache.html.The path to the included resource should be the same on both Publish and Dispatcher.My guess is that Dispatcher has cached page html containing improper path (e.g. during intermediate configuration). Can you please try to clear Dispatcher cache for /content/referencesite/us/en/faq and re-check the page on Di...

Views

524

Likes

0

Replies

0
Re: Indexes going in Traversal
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hi @Kundan_Ray1,Oak chooses the indexer with the lowest estimated cost. (https://docs.adobe.com/content/help/en/experience-manager-65/deploying/deploying/queries-and-indexing.html).You can go to Tools > Operations > Dashboard > Diagnosis > Query Performance > Explain Query (/libs/granite/operations/content/diagnosistools/queryPerformance.html), execute you query and check costs for ntBaseLucene vs traversal.If the cost for ntBaseLucene is higher, it might indicate that indexes are broken/not act...

Views

892

Like

1

Replies

0
Re: Do not cache custom FAQ component
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
@dipu2,If the component is still not shown, please make sure that all the steps from the section Enabling SSI in Apache with the AEM Dispatcher Module have been applied on the Dispatcher.In particular, can you please double-check this: Also could you please confirm that mod_include is enabled?LoadModule include_module modules/mod_include.so

Views

583

Likes

0

Replies

0
Re: Do not cache custom FAQ component
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
@dipu2,As far as I can see on the screenshots, the page on Dispatcher was cached previously ("faq" page title is present on Dispatcher, and it's missing on Publish).Could you please try to clean the Dispatcher cache for this page and re-check?

Views

583

Likes

0

Replies

0
Re: Do not cache custom FAQ component
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @dipu2 ,First of all, could you please confirm that on your Publish instance the bundle "Apache Sling Dynamic Include" is installed, the corresponding configuration for "Apache Sling Dynamic Include - Configuration" is set, and you see the similar comment in source code of the page close to your component (due to the "Add comment" checkbox in the config):If the comment is missing, the configuration on Publish should be double-checked prior to digging into Dispatcher configs.Regards

Views

541

Like

1

Replies

1
Re: AEM Asset contents are not translating on 6.4.5
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @ranjithp2340955 ,As stated in the documentation https://docs.adobe.com/content/help/en/experience-manager-cloud-service/assets/admin/translate-assets.html,if you use Machine Translation, asset binaries aren't translated. In other words, if you need to translate text files, ms word file, PDF file, etc., the Human Translation method should be used. More details about the Human Translation configuration can be found here https://docs.adobe.com/content/help/en/experience-manager-65/administer...

Views

283

Likes

2

Replies

1
Re: Can redirect a page to a page with alias name?
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @gayatrik8153299 ,If your goal is redirection from /page1.html to /page1-alias.html, then you should use the Rewrite Rule directive:RewriteRule /page1.html /page1-alias.html [R=301,L] - for 301 redirect (the path shown in browser will be /page1-alias.html) orRewriteRule /page1.html /page1-alias.html [PT] (the path shown in browser will be /page1.html) https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html#rewriterulehttps://httpd.apache.org/docs/2.4/rewrite/flags.htmlThe alias in the "Page...

Views

724

Like

1

Replies

1
Re: How to set environmental variables and call it from a...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Please see the thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/getting-current-aem-run-mode-in-adaptive-form/qaq-p/320292

Views

555

Likes

0

Replies

0
Re: How to set environmental variables and call it from a...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
If the Run Modes where set up accordingly at your environments, e.g. development, production, etc. (https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/configure-runmodes.html), you can get the current Run Mode at backend and it will contain the corresponding value, such as development or production. The example of getting the Run Modes in Java code https://sling.apache.org/documentation/bundles/sling-settings-org-apache-sling-settings.htmlThe example of getting Ru...

Views

581

Likes

0

Replies

0
Re: How to set environmental variables and call it from a...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @mohamedn4455443 ,If your goal is to use the values in your code you can use environment specific OSGI configurations https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/deploying/overview.html#runmodesIf you need to set up the url for referencing your site at different environments, it should be done at Dispatcher level https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/configuring/dispatcher-domains.html#create-dispatcher-farms-for...

Views

601

Likes

2

Replies

4
Re: I want to reomve all the invalid external links and i...
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @kranthivulpe ,Indeed, the OOTB link checker is not suitable for outputting broken links with referenced pages for the entire site.You can implement the custom script using Groovy Console or AEM Fiddle to go through the /content, get links from properties and check if resource exists via resourceResolver (for internal links) or to validate an external link via calling it from Groovy/Fiddle script (e.g for groovy ​println 'http://www.google.com'.toURL()​.text​).Similar script implementation...

Views

264

Likes

2

Replies

0
Re: Parsys customization issue
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @arvind ,In the example you've mentioned, the components inserted to the custom parsys are not shown due to this condition in sightly - "paragraph.cssClasses".After removing it from the line 31 of parsys.html, the components are shown:``````Regards

Views

307

Like

1

Replies

1
Re: AEM 6.4 SP7 - RTE Inline Editor Listener- Touch UI
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @dhanubrp Touch UI events handling is described here https://helpx.adobe.com/experience-manager/using/creating-touchui-events.htmlThe "inline-edit-finish" event is what you are looking for:$document.on("inline-edit-finish", function (event) { alert("inside inline-edit-finish");});Example of usage of the mentioned event can be found here http://experience-aem.blogspot.com/2016/07/aem-62-rich-text-editor-inplace-editing-perform-spellcheck-before-save.htmlRegards

Views

448

Likes

2

Replies

1
Re: Update Translation without updating content
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hello @troubleshooter3 You can create a new Translation project (Projects > Create > Translation Project) and while adding the desired page to the job it is possible to update the language copy:Regards

Views

378

Like

1

Replies

1
Re: Pass value from JS to sly attribute
Avatar
Give Back 25
Level 4
Andrei_Dantsou
Level 4

Likes

36 likes

Total Posts

29 posts

Correct reply

14 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
Andrei_Dantsou
- Adobe Experience Manager
Hi @v1101,Basically, the code written using JavaScript Use-Api is converted to Java (please see https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino for reference) and thus it is executed at a server side as well as Sightly (please see accepted solution here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sightly-javascript-use-implemetaion-question/qaq-p/224442). If CDN and/or Dispatcher are used for caching content (the most likely), the server side approac...

Views

410

Likes

2

Replies

1