Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Lists & Issues Questions

  Asked By: Willis    Date: Apr 15    Category: Sharepoint    Views: 679

I had two quick questions for you all out there.

1- Is there a way to edit the Add Item setup for a list? As in, I only want certain fields to be seen when an item is first being entered. The rest should be filled in later when editing.

2- The other is with Issues. I am using Issues for Project Management and when someone creates an issue they select who it is assigned to. The Assigned to list is 50 people long even though the project will only go to 4 possible people. I created a custom Assigned To: field using Look-up to a contact list containing the four people and it works great. The only problem is, I can't find a way to remove the original Assigned To field that comes with the default Issues List. It is not delete able.

Anyone have any ideas?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Tyron Calderon     Answered On: Apr 15

1. You would have to modify the SCHEMA.XML file for the list  and mark the field  with ShowInEditForm=”TRUE” (or “FALSE”) or ShowInNewForm with the same. This will prevent a field from showing up in the add  or edit  forms (setting both to be false would be the same as setting Hidden=”TRUE”).
2. The AssignedTo field is sealed in the issues  list (this is so some of the other features like reports work). Again I would recommend you modify the SCHEMA.XML here and change the original  AssignedTo to use a lookup field instead of the type it is in the default  issues list.


Of course you would create you own list (copying the default issues one as a base) as you don’t want to modify the original SharePoint lists. Information on creating a new list from an existing one is in the SDK.

 
Answer #2    Answered By: Irvin Foley     Answered On: Apr 15

Of course, you can also take a more "localized" approach to the
issue as well, rather than modifying schema.xml files. What I do
for individual lists  is edit  the NewItem form in FrontPage, right-
click on the list  and customize. Then, I find  the fields  I don't
want displayed to the user when an item  is submitted and just remove
them. Required fields that removed from the views are not
validated.

(I typically do this to the NewItem forms to remove  "Admin Use Only"
fields so users don't see them. I leave them on the edit and view
forms.)

You can also try the same approach with the issues  list, with
customizing the NewItem, EditItem, and ViewItem forms to remove the
assigned to field  you don't want to use.

I'm not aware of any negative impacts of doing this and haven't run
into any issues as a result of it myself.

 
Answer #3    Answered By: Deonte Stein     Answered On: Apr 15

Be aware, using FrontPage like this will unghost the NewItem form. Also,
new columns added to the list  will not show on the customized page and
columns removed from the list will render in error on the customized
page.

Unfortunately, I don't have any good suggestions for creating your own
ListFormWebParts at this time.

 
Didn't find what you were looking for? Find more on Lists & Issues Questions Or get search suggestion and latest updates.




Tagged: