Home
JavaScript
Interview Question
Sharepoint 2010 , Sharepoint 2013 , Sharepoint 2016 , Office 365
sharepoint 2010, sharepoint 2013 , sharepoint 2016 , office 365
Monday, February 1, 2016
How to redirect New form,Edit form & Display From to new Url in SharePoint 2013
Example
:
function PreSaveItem()
{
var redirectUrl = _spPageContextInfo.siteAbsoluteUrl + "Lists/XXX/DispForm.aspx?ID=1&PrjTitle=" + $("[title^='Project Title']").val();
WPQ2FormCtx.RedirectInfo.redirectUrl = redirectUrl;
return true;
}
1 comment:
Иван
January 27, 2017 at 4:57 AM
Does not work for me
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Does not work for me
ReplyDelete