change redirect url for custom edit form
-
Friday, April 13, 2012 2:53 AM
Hi,
I have created custom edit form. When the user clik edit item, I want to redirect url to my custom edit form.
Anyone help me.
Thanks
wendy
All Replies
-
Friday, April 13, 2012 3:03 AMHow did you create the edit form? VS or SPD? You can set the custom edit form to be the default edit form using both these tools.
MCPD, MCITP, MCTS
-
Friday, April 13, 2012 3:25 AM
Hi Manaz,
I created in SPD. I couldn't set to default becuse I have many editform for different custom new form.
Please advise!
Thanks
wendy
-
Friday, April 13, 2012 6:39 AM
Hi
easiest way
connectr to the site collection using SHP Designer, and an admin user account
from left side select List and Libraries
Pick your list
In the right side, in the middle you should see all your forms associated to your list. The new custom form , isn't marked as "YEs" in Default field.
Select that form , and from the ribbon, click on "Set as default"
That's it. Enjoy
Romeo Donca, Orange Romania (MCSE, MCTS, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.
-
Monday, April 16, 2012 2:10 AM
Thanks for your reply but I can't set as default because I have many edit form different new form for a list.
Please help me!
Thanks
wendy
-
Monday, April 16, 2012 2:53 AMModerator
Hi ,
I understand that you have many new item forms and edit item forms .Are these forms used for different content types ?
If so ,you can edit each content type to have its default new item form and edit item form :
- Open the list in SharePoint .You will find content type at the left bottom of the page .
- Click on a content type to edit the new ,edit and display form for the content type .
- Set the Edit Form url like this :/Lists/listname/formname.aspx
- Save the changes and test in browser .
Entan Ming
TechNet Community Support
-
Monday, April 16, 2012 3:26 AM
Hi,
I have used only one content types for these forms.
Thanks
wendy
-
Wednesday, April 18, 2012 3:06 AMModerator
Hi Wendy,
Do you mean that when click Edit on a display form for different items ,it will redirect to different edit forms ?
If so ,then you should add more information on the display form for the items .Add different buttons on the display form to link to different edit item page .Hide buttons based on these information in on the form using JQuery or JavaScript .
If you are talking about editing the redirect url for the Edit Item action in the Edit Control Block ,then you should use some custom code to add your actions to the Edit Control Block .
For more information ,please refer to this site:
How to: Modify the User Interface Using Custom Actions: http://msdn.microsoft.com/en-us/library/ms473643.aspx
ThanksEntan Ming
TechNet Community Support
- Marked As Answer by Entan MingMicrosoft Contingent Staff, Moderator Monday, April 23, 2012 1:57 AM

