Solved

'People or Group' field in Sharepoint Designer forms

Posted on 2010-11-16
2
1,198 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now