Display redirected parameters(from servlet response) in redirected page
Form A has few fields and submit button. For form submission, we are using Submit to Rest End point(Sling AEM servlet) and adding redirect URL as Form B path
We will get ID value as part of sling AEM servlet response. This ID has to shown in Form B.
I have gone through all the below links and could not find how to get ID value in Form B. Please read my question clearly and provide your response. Thanks in advance.
How to return a value from submit action and use it in the redirect page?
AEM 6.0 Forms Help | Writing custom Submit action for adaptive forms