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

"status" and "owner" parameters are not required in form action

Avatar

Avatar
Validate 1
Level 1
Hitesh
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Hitesh
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Hitesh
Level 1

09-04-2018

Hi,

I have written a custom form action that redirects the user to a thank you page after the data is submitted. But I am getting two parameters in the thank you page "status=Submitted" and "owner=Anonymous". I do not need these parameters.

However, I am getting these parameters in out of the box forms actions as well like "Save".

How can I fix this?

Replies

Avatar

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

37 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

37 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
DarrenBiz
Level 5

10-04-2018

I assume you are configuring a REST endpoint? I think these parameters are automatically passed in via the submission service.

Have you tried configuring an internal POST request? Those parameters will still be present but they should not show up on the thankyou page URL

Adobe Experience Manager Help | Configuring the Submit action

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

10-04-2018

Here is our custom form action article. I have never seen those parameters when creating a custom form action -- Adobe Experience Manager Help | Creating a custom action for an Adobe Experience Manager Form compon...

Avatar

Avatar
Validate 10
Level 3
srikanthp689160
Level 3

Likes

20 likes

Total Posts

95 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 3
srikanthp689160
Level 3

Likes

20 likes

Total Posts

95 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
srikanthp689160
Level 3

10-04-2018

Hi Hitesh,

In your custom submit action post.POST.jsp you can remove status and owner paramters from GuideSubmitServlet's redirect parameters object. Here is the sample code

Map<String, String> redirectParameters = GuideSubmitServlet.getRedirectParameters(slingRequest);

if(redirectParameters==null) {

    redirectParameters = new HashMap<String, String>();

}

redirectParameters.remove("status");

redirectParameters.remove("owner");