How to redirect to the SharePoint Success or Error Message page


How to redirect to the SharePoint Success or Error page with custom message.


  • SPUtility.TransferToSuccessPage("Operation Completed Successfully");
  • Exception ex = new Exception("Operation Failed");SPUtility.TransferToErrorPage(ex.Message);

Comments

Popular posts from this blog

How to remove app from SharePoint 2013/2016

The model backing the context has changed since the database was created. Consider using Code First Migrations to update the database