Hi - I'm having trouble redirecting to a sharepoint page. When i completed editing or adding a new item to a list i want to redirect to another page in my sharepoint site.
I search the web and tried some tips but it wont work,.
i tried this below, but the validation is not working, so its not what i want
Thanks Huzefa, i will choose your option 1, but how, can you show me some steps to achive this?
when i click New
here is the url that show in the browser
- Edited by jwill92 Thursday, March 08, 2012 11:27 AM
You need to perform the following steps:
- Go to your page (new form or edit form) change the URL to contain the following querystring parameter toolpaneview=2 e.g. if your url is http://mysite/lists/listname/newform.aspx?listid=<GUID> then change it to http://praveenbattula.blogspot.in/2009/04/replace-querystrng-with-some-value-in.html. If it doesn't already exist then add the source parameter to the url as window.location.href = yoururl + "&Source=<relativeurl>";
- Save the page and perform your required action
Regards, Huzefa Mala, MCTS
When i add toolpaneview=2 it will edit the page
then if i will add the window.location.href = yoururl + "&Source=<relativeurl>" in a CEWP it will just redirect it to the page in the source, but i can no longer add an item,
i think it will not work
i need to add an item then redirect to a custom page.