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

priyadarshi_cts
Community profile priyadarshi_cts Level 1
Job title here
Location here
4 BADGES
Level 1

Level 1

Learn more
Joined the community 03-05-2018 6:51:04 AM
Offline
Top badges earned by priyadarshi_cts
Customize the badges you want to showcase on your profile
Re: Unable to submit AEM adaptive form to internal servle...
Avatar
Give Back 3
Level 1
priyadarshi_cts
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
priyadarshi_cts
- Adobe Experience Manager Forms
okay, the problem was my tomcat server was not configured to accept the multiform data. Now I am getting the values back into my servlet. However, it is coming as "jcr:data" and "dataXml" with identical content "testing usertesting password/content/dam/formsanddocuments/demo-forms/local-post-form20200525112152" Is there any OOTB configuration which can transform to a normal HTTP POST request that can be retrieved by request.getParameter("username") ? Or this has to be a custom submit action to s...

Views

2.0K

Likes

0

Replies

0
Re: Unable to submit AEM adaptive form to internal servle...
Avatar
Give Back 3
Level 1
priyadarshi_cts
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
priyadarshi_cts
- Adobe Experience Manager Forms
I tried to get the names, it comes as empty. I enabled the logs on AEM, I see the following entry. Not sure if we need to specifically mention the encoding type anywhere in the forms. com.adobe.aemds.guide.service.impl.RESTSubmitActionService RESTSubmitActionService: Content type is either is null or does not contain application/x-www-form-urlencoded

Views

1.9K

Likes

0

Replies

0
Re: Unable to submit AEM adaptive form to internal servle...
Avatar
Give Back 3
Level 1
priyadarshi_cts
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
priyadarshi_cts
- Adobe Experience Manager Forms
Hi, I tried this above approach. However, I can't seem to get the values in the back end through request.getParameter(). I have named the textbox field "username". But when I try to get the value with request.getParameter("username"), I always get NULL as the param is not present.

Views

2.4K

Likes

0

Replies

0
Unable to submit AEM adaptive form to internal servlet from local author instance
Avatar
Give Back 3
Level 1
priyadarshi_cts
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
priyadarshi_cts
- Adobe Experience Manager Forms
Hi, I am trying to submit an adaptive form with three fields to an internal servlet /bin/sling/adaptiveformssubmit I followed the steps here and created the below configs I added the below configs in the submit section.I always get the default message "Thank you for submitting the form." and the form data does not reach the back end servlet.This is my post.POST.jsp <%@include file="/libs/fd/af/components/guidesglobal.jsp" %><%@page import="org.apache.sling.api.resource.ResourceUtil,com.adobe.cq....

Views

5.9K

Likes

0

Replies

7
Restrict POST request from a specific SlingAllMethodsServlet
Avatar
Give Back 3
Level 1
priyadarshi_cts
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
priyadarshi_cts
- Adobe Experience Manager
Hi,I have defined both doGet() and doPost() methods for SlingAllMethodsServlet as below@Overrideprotected void doGet(SlingHttpServletRequest request,SlingHttpServletResponse response) throws ServletException {}@Overrideprotected void doPost(SlingHttpServletRequest request,SlingHttpServletResponse response) throws ServletException {}Why are both GET and POST requests in this servlet accessible from Postman even though sling.servlet.methods has been explicitly declared as GET as shown below? @comp...

Views

2.2K

Likes

0

Replies

1