how to redirect to "page not found" for code in SharePoint 2013?
To page /page/PageNotFoundError.aspx
Does anyone knows how can I do that?
example:
item.status = rejected
then this.page.redirect = pagenofound.aspx
the page exists, I just need to go to it, for code, following given conditions