Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

'People or Group' field in Sharepoint Designer forms

Posted on 2010-11-16
2
Medium Priority
?
1,279 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 1000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

618 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