Solved

'People or Group' field in Sharepoint Designer forms

Posted on 2010-11-16
2
1,244 Views
Last Modified: 2012-05-10
A couple of questions / issues with Sharepoint Designer 2010:

Problem 1:
I've created a form for new items.  One of the fields has an attribute of 'Person or Group' in it's definition.  I can enter the data in the form just fine; however it doesn't display on a typical list view... so as far as I can tell the field isn't getting populated in my custom form.  When I edit in the default form for the list, the data is populated correctly.  

Problem 2:
So I deleted the row from the form in designer, thinking I'd 're-do' the form and maybe it would work.  That's when I discovered there isn't a Sharepoint Control for a 'Person or Group' field... just various forms of text boxes, yes/no, and lists.  So it appears that I cannot add a 'Person or Group' field to a custom form???  I tried to just add a text box and bind it to the field, but that didn't work... the form just displays nothing for that data entry box.  

Any  ideas?  

Thanks in advance!  
0
Comment
Question by:kj96ee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
Rafael I earned 250 total points
ID: 34159269
Creating forms from scratch is always difficult, because there's connections and work done behind the scenes that MS doesn't make apparent.  These instructions are for SharePoint Designer 2007, but it might work the same.

Instead of creating a form from scratch, I would create a copy of an existing form:

Open the copied page in SharePoint Designer in Split View. Place your cursor after "</WebPartPages:ListFormWebPart>" and then go to Insert -> SharePoint Controls -> Custom List Form.

Pick the list you're working on, and then which kind of form you want (New, Edit, Display).  All the default fields will appear underneath.  Now you can move, delete, and test fields while making sure they work by comparing them to the actual list form on top.  When you're finished, right click on the default list form and hide it from view.  If you delete it, SharePoint will not play nice with your form, and you will lose other functionality you might want to use later.

Make sure you edit the list properties to point it to your new custom page if you are trying to replace the list's default "NewForm.aspx"

Please let me know if this works in SharePoint Designer 2010.  Even if it doesn't, the concept should still hold true: try not to work from scratch and don't delete MS generated parts whenever possible.

Good luck!
0
 

Author Closing Comment

by:kj96ee
ID: 34183973
Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question