since ‎09-07-2020
Online
ChitraMadan
MVP
Re: Host AEM Website globally
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @Heena06 , You can go through below links to get started with installing and using dispatcher and for user management. https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/getting-started/dispatcher-install.html https://helpx.adobe.com/uk/experience-manager/6-3/sites/administering/using/user-group-ac-admin.htmlhttps://docs.adobe.com/content/help/en/experience-manager-64/administering/security/security.html

Views

186

Likes

3

Replies

0
Re: Error while upgrading AEM from 6.5.2 to 6.5.5
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @Mayukh007, Why is this not found. Can you please check in your local?/Users/mukmayu/All_Documents/Project_Official/Manulife_CEA/Code_Workspaces/AEMCodeAll/aem-global/it.launcher/reports.zip (No such file or directory) -> [Help 1] [ERROR]

Views

418

Likes

0

Replies

0
Re: Error while upgrading AEM from 6.5.2 to 6.5.5
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @Mayukh007 The dependency you are including does not have the class you are trying to compile with it. org.apache.poi poi 4.1.2 Can you please try to add below dependency and tray againorg.apache.poipoi-ooxml4.1.2

Views

451

Likes

3

Replies

4
Re: response=Gateway Timeout issue while running -Pautoin...
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @ramaem12 , Can you please try to add false in the content package plugin com.day.jcr.vaultcontent-package-maven-plugintrue1.0.2truefalsetrue${cq.username}${cq.password}10false

Views

215

Likes

2

Replies

0
Re: How AEM web site is availlable to End User
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @Heena06 , Is this the intranet site that you are building?If you want to provide capability to your end users to edit the site, below is one of the approach: Create a component in AEM, which will check the permissions of the logged in user and based on the permission, if the user has the edit rights or belong to a certain group with access rights, may be you can display an edit/pencil icon on the page and once the user clicks it, you can take the user to the same page on the author server fo...

Views

180

Likes

2

Replies

0
Re: EVENT FILTER is not working
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @kautuk_sahni, Please mark this as the correct solution!!

Views

326

Likes

0

Replies

0
Re: Synchronize adaptive form folder in eclipse
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @ ramandeep, please see if these steps helps https://sourceforge.net/p/vaultclipse/discussion/1764570/thread/3688e33a/?limit=25

Views

248

Likes

0

Replies

0
Re: override thumbnail page dialog - AEM 6.5
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @sreedobe , Same requirement was discussed here. Please see if this helpshttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/uploading-thumbnail-for-a-page-from-dam-in-aem-6-3/qaq-p/273765

Views

265

Likes

2

Replies

1
Re: Synchronize adaptive form folder in eclipse
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @ ramandeep, try with version 3.2.8

Views

260

Likes

0

Replies

0
Re: EVENT FILTER is not working
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @sail83812260 , If this still doesn't work, may be you can try this example using EventHandler. Its working for me. @Service@Component(label = "Listener on ACTIVATE Action", description = "REPLICATE sample content.", immediate = true, metatype = true)public class SamplePublishListener implements EventHandler { @Property(name = "event.topics", value = {ReplicationAction.EVENT_TOPIC}) private static final String EVENT_TOPIC = ""; @Property(name = "allowed.paths.regex", value = { "/content/dam/p...

Views

289

Likes

2

Replies

0
Re: Synchronize adaptive form folder in eclipse
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @ramandeep, You can use vlt tool to sync content to/from AEM Server. Please refer to these links https://docs.adobe.com/content/help/en/experience-manager-64/developing/devtools/ht-vlttool.htmlhttps://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html You can use plugins available with the IDEs to push and pull content from AEMFor eclipse, you can use ValutClipse plugin.Here are the steps to configure the plugin http://www.aemcq5tutorials.com/tutorials/configure-...

Views

303

Likes

2

Replies

5
Re: Multiple React cras with aem-clientlib-generator
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @fionas76543059,css is in the head and js in the body like this; The root/app id of your react application should be matching above div id which in this case is "react-application-1"

Views

336

Likes

0

Replies

0
Re: Multiple React cras with aem-clientlib-generator
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @fionas76543059 , Please find below one of the approach to integrate multiple react projects in AEM without using SPA editor. Firstly, we are using these configurations to get rid of chunk files so that js which is included in the zip package through your build process is main.hash.js.rescriptsrc.jsmodule.exports = config => {config.optimization.runtimeChunk = false;config.optimization.splitChunks = {cacheGroups: {default: false}};return config;};Now, through build process, different zip pack...

Views

371

Likes

2

Replies

7
Re: Enabling content as a service in AEM
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @kunal23 , It really depends on what your use case is. However, there are two options as per https://docs.adobe.com/content/help/en/experience-manager-learn/sites/content-fragments/content-fragments-delivery-feature-video-use.htmlUse AEM Content Services and Proxy API pages (Video #2) when the primary use case is deliver Content Fragments for consumption (Read-only) by a 3rd party channel. The Content Services framework provides more flexibility and options as to what data gets exposed. Devel...

Views

223

Likes

2

Replies

1
Re: export XF to Target through Adobe I/O
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @Shaheena_Sk , This looks like a permission issue - try changing access from Editor to Approver. Please look into below threads for the same issue.https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/problem-when-export-experience-fragment-to-adobe-target/qaq-p/310771 https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/create-offer-request-failed-error-while-syncing-an-activity-from/qaq-p/359654

Views

210

Likes

4

Replies

0
Re: AEM 6.4.8.1 (CFP 1) and POST Requests
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @cecheta , If you are testing this on author instance in local/staging environment, you can do below steps to test the request. Go to http://localhost:4502/system/console/configMgrSearch for Apache Sling Referrer FilterCheck "Allow Empty"Remove POST from Filter Methods For Production environment, leave the default settings and test via dispatcher.Please refer to this blog for more details How to make a simple HTTP POST request to AEM with a HTTP Rest Client, Postman - Sourced Code

Views

290

Likes

2

Replies

0
Re: Vanity URL working inconsistently
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @subrato-kha, Can you please share dispatcher logs.What are you getting in the logs when you are trying to access vanity-url-two.htmlIs there any rewrite rule which is overwriting vanity-url-two.html to something elseTry to check if the problem is in the dispatcher or in publisherPlease check access.log in the publisher to check if the request is reaching publisher or notIf it is reaching publishers, check your anonymous user permissions

Views

212

Likes

2

Replies

1
Re: java design patterns used in AEM
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @srikanthg212933 , Some of the OSGI Patterns are listed here with references and sample exampleshttp://computepatterns.com/osgi-design-patterns/

Views

493

Likes

2

Replies

0
Re: cannot render resource SyntheticResource,
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @sreedobe , I encountered the same logs and the reason found was there was a resource which was getting included from the templatepage and which did not exist.Something like below:templatepage/body.jspversion.jsp - Non existent resourceSo all the pages using this template was throwing this error - org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource SyntheticResourceI would suggest to find the references of problematic resource, it must b...

Views

155

Likes

2

Replies

0
Re: Query Build API - Results in random order
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @v1101 , The Only property that you need to change in your query is the orderby as highlighted below: path=/content/xx/en/yy/test1_property=sling:resourceType1_property.value=yycomponents/page/abc1_property.operation=likeorderby=@cq:lastModifiedorderby.sort=descp.limit=50 The reason fo this is, the query will return the paths till jcr:content and then the query was checking cq:lastModified in jcr:content/jcr:content/cq:lastModified and hence it was not working.With above change, it should wor...

Views

173

Likes

2

Replies

0
Re: Attaching a header to the Oauth Token endpoint responses
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @bandersen_hoodoo, I am not sure what is your end to end scenario, but I have used OAUTH in couple of integrations and we never had to modify the response of oauth/token endpoint for a successful communication. You can go through couple of blogs below, these might help!!https://labs.tadigital.com/index.php/2017/08/18/aem-as-oauth-server-part-1-setting-up-scopes/https://labs.tadigital.com/index.php/2017/09/06/aem-as-oauth-server-part-2-testing-oauth/ If this doesn't help. Can you please explai...

Views

177

Likes

3

Replies

1
Re: ProxyAsyncScriptableFactory uses the deprecated async...
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Can you try using this sling:resourceSuperType /libs/wcm/foundation/components/basicpage/v1/basicpage

Views

345

Likes

0

Replies

0
Re: ProxyAsyncScriptableFactory uses the deprecated async...
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Have you tried updating head.js?

Views

346

Likes

0

Replies

0
Re: ProxyAsyncScriptableFactory uses the deprecated async...
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @gayatrik8153299, Same issue was discussed here. Please check. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/proxyasyncscriptablefactory-uses-the-deprecated-asynchronous-api/qaq-p/210996

Views

352

Likes

2

Replies

4
Re: Servlet JSON Response integration Tests
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @karthik4, If you want to validate the swagger contract, you can try to validate the Yaml file generated by Swagger. Please see below code for the same import io.github.robwin.swagger.test.SwaggerAssertions;import io.swagger.models.Swagger;import io.swagger.models.auth.AuthorizationValue;import io.swagger.parser.SwaggerParser;private SwaggerParser swaggerParser = new SwaggerParser();@Testpublic void validateImplementationMatchesDocumentation() { AuthorizationValue authorizationValue = new Aut...

Views

158

Likes

4

Replies

0
Re: Groovy Console on Production
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @karthik4, The answer to your question is yes, you can run groovy script directly on production author and then replicate the content from there.Technically, there is no problem in that but just because this is the production environment, it would be best to take the backup of the author instance, just in case if something goes wrong, you can go back to the previous state. Another option is to copy the content of the production to a lower environment, run the script there and package the cont...

Views

164

Likes

2

Replies

0
Re: AEM - junit test case for Jcr Event Listener
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @sundarig3746447 ,Although the link that you have provided doesn't show source code but check this blog for a few exampleshttp://useof.org/java-open-source/javax.jcr.observation.EventIterator Find another example below:@RunWith(PowerMockRunner.class)@PrepareForTest({ReplicationAction.class})public class SampleListenerTest {private static final Logger LOGGER = LoggerFactory.getLogger(SampleListenerTest.class);private SampleListener sampleListener = new SampleListener();private Map propertyMap;...

Views

309

Likes

2

Replies

0
Re: Accessing /services giving 404
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @trc41594544 , Can you please check if your servlet is active herehttp://localhost:4502/system/console/components

Views

433

Likes

2

Replies

1
Re: SlingModel @ChildResource is not working
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @vijays80591732 , If this is not a component and you want to access it in Sling Model, then you can make use of a java class to read its child values and return in Sling Model in this way: @Getter@Setter@Model(adaptables = Resource.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)public class HistoryModel {@Injectprivate List workflowItems;@Selfprivate transient Resource resource;@PostConstructprivate void init() {workflowItems = SomeUtilClass.getWorkflowItems(resource, "pa...

Views

207

Likes

2

Replies

0
Re: Why @ServiceRanking(60000) is required to handle the...
Avatar

ChitraMadan

MVP

ChitraMadan
- Adobe Experience Manager
Hi @surenk , When looking for an AuthenticationHandler the authentication handler is selected whose path is the longest match on the request URL. If the service is registered with Scheme and Host/Port, these must exactly match for the service to be eligible. If multiple AuthenticationHandler services are registered with the same length matching path, the handler with the higher service ranking is selected[^ranking].[^ranking]: Service ranking is defined by the OSGi Core Specification as follows:...

Views

188

Likes

3

Replies

0