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

Mohit_KBansal
Mohit_KBansal
Online

Badges

Badges
28

Accepted Solutions

Accepted Solutions
23

Likes Received

Likes Received
136

Posts

Posts
94

Discussions

Discussions
18

Questions

Questions
76

Ideas

Ideas
1

Blog Posts

Blog Posts
3
Top badges earned by Mohit_KBansal
Customize the badges you want to showcase on your profile
Re: Can we create page/assets on publish instance ? - Adobe Experience Manager 18-08-2022
It's partially true, You are not restricted by the system to create content directly on the publisher, let's take an example that you have a scheduler that reads data from some API and creates page/content fragment/experience fragments using data received in API response. or you receive comments from users and save them on the publisher. Ideally, we do not allow any manual content creation on publishers directly and restrict access.

Views

76

Like

1

Replies

2
Re: Can we create page/assets on publish instance ? - Adobe Experience Manager 18-08-2022
Author/Publisher both are AEM instances, started with different special run modes (author, publish) to differentiate their purpose. For me, as an author writes, a publisher gets those writings out where people can read them. AEM Instance started with publish run mode restricts several capabilities which author can do, like workflow. In a real setup, we do not grant direct access to publish environments to anyone (be it author/users). So all content authoring is done in author mode, and the websi...

Views

81

Likes

2

Replies

4
Re: Content Sync - One Environment to other - Auto Sync - Adobe Experience Manager 18-08-2022
Replication agents are definitely one option, but you should consider the fact if you need content migration from author to author and publisher to publisher or just want to sync content from the author of env1 to author&pub of env 2. I have also used this tool [1] to sync content automatically from one env to another environment. [1] https://www.zoozdigital.com/aem-content-sync-automation-tool.html

Views

41

Like

1

Replies

0
Re: Redirect Rule redirecting HTTPS request to HTTP - Adobe Experience Manager 18-08-2022
The documentation mention that "Refer to the documentation of your load balancer to find out which header it sets to notify downstream systems that it terminated SSL. For simplicity, in these steps we assume that the correct HTTP header is “X-Forwarded-Proto: https”" Alternatively, you can set this header in your apache vhost (https directive). As your ssl may be breaking on LB, you can not configure it on apache (as its vhost is supporting http) You have to check with the support team, which he...

Views

33

Likes

2

Replies

1
Re: Redirect Rule redirecting HTTPS request to HTTP - Adobe Experience Manager 18-08-2022
1. Yes, in this case, offloading may be happening on LB. Regarding X-Forwarded-Proto, i believe, it needs to be configured on LB and not apache. 2. You have to check with Cloud Manager support team to confirm this.

Views

37

Likes

2

Replies

3
Re: Redirect Rule redirecting HTTPS request to HTTP - Adobe Experience Manager 18-08-2022
Hello @Rohan_Garg The only reason I see is that your webserver's virtual host support HTTP protocol. Now, saying this, CDN to Apache communication is happening on 80 port instead of 443 port, which converts HTTPS protocol to HTTP, and this cause any apache redirection happening on HTTP protocol. Please check and make sure, that CDN to apache communication is happening on HTTPS protocol.

Views

41

Likes

2

Replies

5
Re: Add page plugin for Facebook - Adobe Experience Manager 16-08-2022
@arunpatidar Thanks for pointing, I mean the same, though some scripts need to be explicitly added in the head based on recommendation (eg. jquery, launch)

Views

89

Like

1

Replies

0
Re: Add page plugin for Facebook - Adobe Experience Manager 16-08-2022
@nikita24tailor You can add custom Html/scripts in your components. Though it's advised to include such scripts in the head/footer section (based on the recommendation by the script provided), so you should consider overlaying the page component's customheaderlibs.html/customfooterlibs.html file to include this script.

Views

103

Like

1

Replies

2
Re: Return servlet response as json data. - Adobe Experience Manager 15-08-2022
@sesmic Here is another simple example which you can follow [1], this example uses gson. public class EmployeeServlet extends HttpServlet { private Gson gson = new Gson(); @Override protected void doGet( HttpServletRequest request, HttpServletResponse response) throws IOException { Employee employee = new Employee(1, "Emp name", "IT", 5000); String employeeJsonString = this.gson.toJson(employee); PrintWriter out = response.getWriter(); response.setContentType("application/json"); response.setCha...

Views

115

Likes

3

Replies

0
Re: Return servlet response as json data. - Adobe Experience Manager 15-08-2022
Check this sample code [1] [1] https://gist.github.com/nateyolles/d4ca683078efd60aa8ac

Views

133

Like

1

Replies

2