Could any one of you please help me how to change the URL of add/edit/view Item.
The things is when user clicks on Add/Edit/View item, It's showing a dialogue box by default..
I want to redirect to another page once user clicks on "Add/Edit/View Item" instead of dialogue box.
I have search in Google for this and there is a way to do this with the coding
Could anyone of you please help me how we can do this SP designer.
Eg: I want to redirect From http://Test/Project/Lists/Changes/AllItems.aspx
To: http://Test/Project/Pages/CustomAddNewItem.aspx
using ( var ctx = new ClientContext( url ))
{
var list = ctx.Web.Lists.GetByTitle( 'List' ); list.DefaultNewFormUrl = newFormUrl;
list.Update();
ctx.Load( list );
ctx.ExecuteQuery();
}
Thanks,
Venkat