cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hardikv
Memorable Member
Memorable Member

How to redirect to another page after profile page is updated

When user click on Update button of Profile Page, Once record is updated successfully, then it should be redirect to specific page.

 

hardikv_0-1669278253695.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Fubar
Solution Sage
Solution Sage

Profile is 'Special' and not a normal Basic Form, basically you need to adjust the Form action by adding something like the following to the 'Profile' Web Page html

 

<script>
$( document ).ready(function() {
        // after submit will send the user to the returnUrl 
	$("#content_form").attr('action',"/profile/?returnUrl=%2Fforums%2F");
});
</script>

 

 

Similarly if you always want the users to land on a specific page after sign in you can adjust the Header web template and hard code in the returnUrl parameter value on the Sign in link.

View solution in original post

2 REPLIES 2
AbdulWahab
Helper V
Helper V

Hi @hardikv ,

 

There is a property 'On Complete' with the option 'Redirect to Webpage'. I think it is going to solve your problem.

AbdulWahab_0-1669302874329.png

AbdulWahab_2-1669302926402.png

 

If you like my response, please give it a Thumbs Up.

 

Let me know if I can provide you with more details.

 

Thanks
Regards,

 

Abdul Wahab
Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
Direct/WhatsApp:+923323281237
E-mail: abdulwahabubit@outlook.com
Skype: abdul.wahabubit
Linkedin: https://www.linkedin.com/in/abdul-wahab-a5b8b011a/

Fubar
Solution Sage
Solution Sage

Profile is 'Special' and not a normal Basic Form, basically you need to adjust the Form action by adding something like the following to the 'Profile' Web Page html

 

<script>
$( document ).ready(function() {
        // after submit will send the user to the returnUrl 
	$("#content_form").attr('action',"/profile/?returnUrl=%2Fforums%2F");
});
</script>

 

 

Similarly if you always want the users to land on a specific page after sign in you can adjust the Header web template and hard code in the returnUrl parameter value on the Sign in link.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,568)