since ‎19-07-2015
‎07-04-2021
Albin_Issac
MVP
Re: Search Synonym
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Thanks @kautuk_sahni HI @mahamooda726898Please let me if you still facing the issue after following the blog. Also share the index configuration packageRegardsAlbin Iwww.albinsblog.com

Views

83

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Working JSON {"jcr:primaryType": "sling:Folder","jcr:createdBy": "admin","hidden": "true","jcr:created": "Wed Oct 16 2019 20:55:35 GMT-0500","http": {"jcr:primaryType": "sling:Folder","jcr:createdBy": "admin","jcr:created": "Wed Oct 16 2019 20:55:35 GMT-0500","prepaid.test.com": {"jcr:primaryType": "sling:Mapping","jcr:createdBy": "admin","jcr:created": "Wed Jan 06 2021 12:45:10 GMT-0600","test-redirect": {"jcr:primaryType": "sling:Mapping","jcr:createdBy": "admin","sling:redirect": "https://www...

Views

304

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Try to modify the sling:match as sling:match - prepaidcards/student.html (removed the slash). Also, note sling:redirect instead of sling:internalRedirect with complete URL should used if you want to redirect the user to specific URL in browser.

Views

320

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Can you post the JSON for the mapping?

Views

339

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Try adding the maapings under http node, if that works. The X-Forwarded headers will be sent by Load Balancers if the SSL is terminated at Load Balancer.

Views

362

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Are you trying for an external redirect(sling:redirect) or internal rewrite(sling:internalRedirect)? Also check AEM is reciving direct HTTPS traffic or X-Forwarded* headers, if not create the et/map configurations under HTTP node.Refer to https://medium.com/tech-learnings/adobe-experience-manager-aem-implementing-custom-redirect-vanity-urls-manager-857c699ccc29 for more details.Refer to https://techforum.medium.com/configure-sling-mapping-for-resource-resolution-in-adobe-experience-manager-deep-...

Views

378

Likes

2

Replies

11
Re: REST API - Map a Sling servlet to a path with a varia...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
JAX-RS can be used in this case, refer https://www.albinsblog.com/2019/06/how-to-expose-restful-services-through-jax-rs-in-aem.html#.X_M4BdhKg2w for more details.Another option is to rewrite the user-friendly URL from browser to internal servlet URL(based on query parameter) in Dispatcher/Apache, refer to this URL for more details https://www.albinsblog.com/2017/11/rewrite-rules-with-ptpass-through-flag-notwork-in-aem.html#.X_OQX9hKg2wRegardsAlbin Iwww.albinsblog.com

Views

195

Likes

2

Replies

0
One option to add the resource type as cq/Page so the ser...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
One option to add the resource type as cq/Page so the servlet can be accessed directly on page nodes, in this case, the servlet will be invoked for all the pages irrespective of the page resource type specified in jcr:content node.RegardsAlbin Iwww.albinsblog.com

Views

388

Like

1

Replies

0
Thanks, @Sandeep6 for the feedback, the resource type is...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Thanks, @Sandeep6 for the feedback, the resource type is tagged to the jcr:content node of the cq:page so the _jcr_content should be included to invoke the servlet. Anyhow the HTML extension is invoking the servlet without adding the _jcr_content to the request path. Let me know if you need any further information on this. I will review the issue with the static keyword. RegardsAlbin Iwww.albinsblog.com

Views

425

Like

1

Replies

2
Re: /etc/map with filevault-package-maven-plugin in versi...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
The Sling Mapping should be under /etc/map but seems you are trying to enable under /apps/etc/mapRefer https://techforum.medium.com/configure-sling-mapping-for-resource-resolution-in-adobe-experience-manager-deep-dive-b06280a2bf8e?source=your_stories_page------------------------------------- for more details on enabling Sling Mapping.RegardsAlbin Iwww.albinsblog.com

Views

328

Like

1

Replies

1
Re: Virtual host configuration
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
That is the default Apache Server behavior, have you configured the dispatcher module into the Apache ServerRefer https://techforum.medium.com/aem-adobe-experience-manager-as-a-cloud-service-setting-up-local-development-environment-in-d0612e704255 for details on dispatcher setupRegardsAlbin Iwww.albinsblog.com

Views

218

Likes

2

Replies

0
Re: Read SAML received from Okta
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
I missed this, you can map the profile attributes through the SAML Authentication handler, even the handler have the option to store SAML response to the profile if required

Views

258

Likes

0

Replies

0
Re: Read SAML received from Okta
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Create an AuthenticationPostProcessor to parse the samlresponse after successful authentication and store the values to the user profile, the profile data can be used later in any of the components.Refer https://techforum.medium.com/adobe-experience-manager-reporting-on-users-last-login-date-e2035021cb9e for enabling the Custom AuthenticationPostProcessor and storing the values to the user profile.Refer https://apoorva-ganapathy.blogspot.com/2016/08/aem-processing-saml-response-using.html for pr...

Views

297

Likes

2

Replies

3
Re: OAuthAuthenticationHandler extractCredentials: fallba...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Are you using JsonTokenExtractor? Login form should redirect to url that ends with "/callback/j_security_check" that triggers AEM code to make an additional call to OAuth service to get Access Token Refer to the below URL for more detail - https://github.com/techforum-repo/bundles/blob/master/google-oauth-provider/src/main/java/com/core/oauth/google/GoogleOAuth2Api.java https://techforum.medium.com/social-login-with-google-oauth2-adobe-experience-manager-aem-ff33b5c4f349?source=your_stories_page...

Views

265

Likes

2

Replies

1
Re: Alternative to Reverse Replication
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Should be working, i have tested this in AEM as Cloud local instance

Views

250

Likes

0

Replies

0
Re: Alternative to Reverse Replication
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
You should able to use the reverse distribution, refer the following URL for more details - https://medium.com/@techforum/sling-content-distribution-in-aem-part-2-3a66933be45dRegardsAlbin Iwww.albinsblog.com

Views

272

Likes

3

Replies

2
Re: Implement redirects with the content
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
You can achieve this through Apache/Dispatcher redirects and etc mapping for page linksRedirect the user to the final URL through ApacheEnable a PT rule in Apache to send the required URL to AEMEnable etc mapping in AEM tho handle the page linksRefer the following URL for more details - https://www.albinsblog.com/2020/07/configure-sling-mapping-for-resource-resolution-in-adobe-experience-manager.html#.X2ojN2hKg2wRegardsAlbin Iwww.albinsblog.com

Views

243

Like

1

Replies

0
Re: How does AEM Cloud send users to correct the country?
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
You should whitelist the specific header from CDN

Views

248

Likes

0

Replies

0
Re: How does AEM Cloud send users to correct the country?
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
I don't think so the country-specific redirect can be directly enabled in CDN atlease from the AMS perspective, please check on thisSome options to explore1. Redirect the user from Dispatcher based on the viewer country from CDN - refer https://medium.com/@techforum/geo-location-based-redirects-with-cloudfront-and-apache-redirect-web-traffic-based-on-country-of-cb15ccd79dc8 for more details2. Use Google Geo Location API to redirect the users to a specific website based on location3. Tag the webs...

Views

264

Like

1

Replies

2
Re: Report Select Parameter Dynamically by Query
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
You can try something like belowSearch Parameters - "ACS Commons Report Builder Select Parameter Dynamically by Query"Label - User IdName - useridQuery Language - JCR SQL2Dropdown Query - SELECT * FROM [rep:User] AS user WHERE ISDESCENDANTNODE([/home/users])Allowed Property Names: rep:authorizableIdConfiguration:Query - SELECT * FROM [rep:User] AS user WHERE ISDESCENDANTNODE([/home/users]) {{#if userid}} AND [rep:authorizableId] like '{{userid}}' {{/if}}Query Language - JCR SQL2Page Size - e.g. ...

Views

271

Likes

2

Replies

1
Re: Content Approval Workflow in AEM
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Try to add the users into one of the below group based on the needworkflow-users:this group holds all the privileges necessary for your users to perform workflow actions.when the account is in this group it only has access to workflows that it has initiated.workflow-administrators:this group holds all the privileges necessary for your privileged users to monitor and administer workflows.when the account is in this group it has access to all workflows.RegardsAlbin Iwww.albinsblog.com

Views

345

Likes

2

Replies

0
Re: AEM Query date range property to query
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Try something as belowp.limit=-1p.hits=fullpath=/home/project/usersproperty=customGroupproperty.value=Unverifiedtype=rep:Usergroup.1_relativedaterange.property=jcr:createdgroup.1_relativedaterange.upperBound=-5dgroup.2_relativedaterange.property=registrationCompletedDategroup.2_relativedaterange.upperBound=-5dgroup.p.or=trueEven you can use daterange instead of relativedaterange.RegardsAlbin Iwww.albinsblog.com

Views

261

Like

1

Replies

0
Re: POST Call to AEM from SFDC gives HTTP Error 403
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
I thought the integration is for AEM Author, If it is to Publish the basic authentication is not required, the referrer filer update resolve the problem.

Views

270

Likes

0

Replies

0
Re: POST Call to AEM from SFDC gives HTTP Error 403
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
HiThe log shows the dispatcher is not blocking the request and connected to the backendAre you sending the basic authentication headers from Salesforce?Does the user have the access to perform the required operations in AEM?RegardsAlbin Iwww.albinsblog.com

Views

289

Like

1

Replies

3
Re: Custom DAM Update Asset workflow
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
The workflows are started through the workflow launcher configurationsDisable the launcher starting(launchers configured for creating and updating nodes) the OOTB workflow and create a new launcher to start the custom workflow.http://localhost:4502/libs/cq/workflow/admin/console/content/launchers.html RegardsAlbin Iwww.albinsblog.com

Views

255

Like

1

Replies

0
Re: AEM permission to enable Start Workflow button
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
There are different inbuilt user groupsworkflow-users:this group holds all the privileges necessary for your users to perform workflow actions.when the account is in this group it only has access to workflows that it has initiated.workflow-administrators:this group holds all the privileges necessary for your privileged users to monitor and administer workflows.when the account is in this group it has access to all workflows.Add the user to the specific group based on the requirementThe Start Wor...

Views

317

Like

1

Replies

0
Re: AEM stage site with htaccess incure redirecting url i...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Try un-setting the basic authentication before sending the request to AEM Enable some configuration like below in virtual-host## unsets authorization header when sending request to AEMRequestHeader unset AuthorizationDeny from allAuthUserFile /etc/httpd/conf.d/htaccess/uat_dispatcher.htaccessAuthName "Authentication Required"AuthType BasicSatisfy Anyrequire valid-userRegardsAlbin Iwww.albinsblog.com

Views

266

Likes

2

Replies

1
Re: Asset API changing the properties with namespace dc:...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Thanks for the update We came to know from Adobe Engineering team, the namespace changing - dc to jcr was the expected behavior for the ASET HTTP API, one solution is building custom services through Asset Manager API to handle the assets and metadata - this require additional dev effort. As a quick workaround, we have enabled a workflow launcher that will be triggered only on the modification of specific jcr property(excluded for all other namespaces) and a model that will copy the jcr property...

Views

210

Likes

2

Replies

0
Re: Asset API changing the properties with namespace dc:...
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Thanks for the update We came to know from Adobe Engineering team, the namespace changing - dc to jcr was the expected behavior for the ASET HTTP API, one solution is building custom services through Asset Manager API to handle the assets and metadata - this require additional dev effort. As a quick workaround, we have enabled a workflow launcher that will be triggered only on the modification of specific jcr property(excluded for all other namespaces) and a model that will copy the jcr property...

Views

221

Likes

0

Replies

0
Re: receiving a random script in case of 404 error
Avatar

Albin_Issac

MVP

Albin_Issac
- Adobe Experience Manager
Also check, if the script is included externally through Tag Managers(DTM, Launch, or GTM) at runtime.RegardsAlbin Iwww.albinsblog.com

Views

201

Like

1

Replies

0