Question

We are creating an asset list in Sharepoint 2013 site (on-premise). It will be one big list instead of making separate lists for different item types. There will be different views depending on the item types (furniture, computers, printers etc).

I know there is one out-of-the-box EditForm.aspx and NewForm.aspx. I also know that they can customized and saved with different names in SP designer. One thing I need to know if we be able to pull up the right form depending on from which view the Edit link was clicked. Meaning, that I want the EditForm for Furnitures to be displayed instead of the one for printers if the user was in the Furnitures view of the list. If this is possible then I'll appreciate a general guidance on how could it be achieved.

Thanks.

Was it helpful?

Solution

This sounds like a perfect scenario for utilizing content types. You could create a content type per asset type. It will automatically provide you with menu items in the New ribbon button for each asset type. For example, new furniture, new computer, etc. Each NewForm and EditForm will contain fields specific to chosen content type. This can all be done with no-code solution, either by SPD or browser.

For more information on content types please refer to the following link: http://msdn.microsoft.com/en-us/library/office/ms479905(v=office.14).aspx. It is targeting SP 2010, but it's applicable to SP 2013 as well.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top