?
Solved

'People or Group' field in Sharepoint Designer forms

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

770 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