I've only implemented one view code, not Designer but Tom is correct in that FormField will take the default control template for you, and if you have a custom field it will take the custom control as well.
If you're adding through SPD then I have to assume the name and ID are both correct. On 14 February 2013 14:40, <[email protected]> wrote: > Didn’t get you, want to understand people picker behavior why it doesn’t > work as PublishingWebControl and works with SharepointWebControl in > publishing page layout ?**** > > ** ** > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Tom O'Connor > > *Sent:* Thursday, February 14, 2013 9:06 AM > *To:* ozMOSS > *Subject:* Re: people picker issue with custom page layout**** > > ** ** > > It ain't, it works fine, shows as people picker control.....**** > > ** ** > > On 14 February 2013 14:02, Web Admin <[email protected]> > wrote:**** > > Cos it's the wrong fieldtype.**** > > ** ** > > Did you build this in SharePoint Designer by any chance?**** > > ** ** > > It would help to see the list fields, datasource and a screenshot or two.* > *** > > ** ** > > If all the other fields are saving data then it seems there's an issue > with how this one is declared.**** > > ** ** > > On 14 February 2013 14:29, Chris Grist <[email protected]> > wrote:**** > > Why not try Tom’s code…**** > > **** > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *[email protected] > *Sent:* Thursday, 14 February 2013 1:59 PM > *To:* [email protected] > *Subject:* RE: people picker issue with custom page layout**** > > **** > > Yes exactly the strange behavior I am facing, anything wrong am I doing?** > ** > > **** > > *From:* [email protected] > [mailto:[email protected]<[email protected]>] > *On Behalf Of *Web Admin > *Sent:* Thursday, February 14, 2013 8:56 AM > *To:* ozMOSS > *Subject:* Re: people picker issue with custom page layout**** > > **** > > So the field renders correctly in the page and the people picker works.*** > * > > **** > > But the name(s) are not saved when you submit the form.**** > > **** > > You want to try adding the field again and confirm the name has not > changed?**** > > **** > > On 14 February 2013 14:06, <[email protected]> wrote:**** > > Hi,**** > > **** > > Thanks for the information, I am using the below code, anything wrong in > this?**** > > **** > > <PublishingWebControls:User ID="Contact" runat="server" > FieldName="Contact" ControlMode=”Edit”></ PublishingWebControls:User>*** > * > > **** > > Regards,**** > > Srinivas Battula**** > > **** > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Tom O'Connor > *Sent:* Thursday, February 14, 2013 8:25 AM**** > > > *To:* ozMOSS > *Subject:* Re: people picker issue with custom page layout**** > > **** > > You sure that the FieldName is correctly set?**** > > **** > > I have something similar setup in a page layout with the following and it > works without a problem.**** > > **** > > <SharePointWebControls:FormField ID="Contact" runat="server" > FieldName="Contact" InputFieldLabel="Page > Contact"></SharePointWebControls:FormField>**** > > **** > > Cheers,**** > > **** > > Tom**** > > **** > > On 14 February 2013 12:41, <[email protected]> wrote:**** > > Hi All,**** > > **** > > Below is the detailed description.**** > > **** > > 1.I have content type with set of fields, in those one of the fields is of > type User(people picker).**** > > 2.created a custom page layout based on the content type.**** > > 3. when referring the User field in the page layout it works for adding > the users.**** > > 4.But while saving the page, values of User field doesn’t persist with > content type property, remaining other fields in the content type persist > on saving the page.**** > > **** > > We are using publishing site, all of our controls of type Publishing Web > Controls in the page layout. Any thoughts on this ? provide me any code > snippet if anything on this.**** > > **** > > Regards,**** > > Srinivas Battula.**** > > **** > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Web Admin > *Sent:* Thursday, February 14, 2013 2:57 AM > *To:* ozMOSS > *Subject:* Re: people picker issue with custom page layout**** > > **** > > Hi Srinivas,**** > > **** > > Are you saying that when you open the item for editing the person field is > blank?**** > > **** > > Can you give us more info? Sounds like the field does not have a get/set > against it.**** > > **** > > On 14 February 2013 01:23, <[email protected]> wrote:**** > > Hi all,**** > > **** > > I have people picker control in my custom page layout, it works when > searching the users and when saving the page, it doesn’t persist with > content type property values, am I doing anything wrong on this???????**** > > **** > > **** > > Regards,**** > > Srinivas Battula.**** > > **** > ------------------------------ > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the e-mail by you is prohibited. > > Where allowed by local law, electronic communications with Accenture and > its affiliates, including e-mail and instant messaging (including content), > may be scanned by our systems for the purposes of information security and > assessment of internal compliance with Accenture policy. > > > ______________________________________________________________________________________ > > www.accenture.com**** > > > _______________________________________________ > ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss**** > > > > **** > > **** > > -- **** > > Regards,**** > > **** > > Paul Noone**** > > **** > > SharePoint Farm Admin/Developer > Infrastructure Team > CEO Sydney > > p: (02) 9568 8461 > f: (02) 9568 8483 > e: [email protected] > w: http://www.ceosyd.catholic.edu.au/**** > > > _______________________________________________ > ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss**** > > **** > > > _______________________________________________ > ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss**** > > > > **** > > **** > > -- **** > > Regards,**** > > **** > > Paul Noone**** > > **** > > SharePoint Farm Admin/Developer > Infrastructure Team > CEO Sydney > > p: (02) 9568 8461 > f: (02) 9568 8483 > e: [email protected] > w: http://www.ceosyd.catholic.edu.au/**** > > > ___________________________________________________ > This message is intended only for the use of the addressee. > This email and any attachments are confidential and may > contain legally privileged information or copyright material. > > If you are not the intended recipient, you are hereby notified that any > use or > dissemination of this communication is strictly prohibited. If you received > this e-mail in error, please notify us immediately by telephone on +61 8 > 8338 > 2833 or by return email and delete the original message. It is important > to > check for viruses and defects before opening or using attachments. Beach > Energy > Limited accepts no liability for any damage caused by this email or its > attachments due to viruses, interference, interception, corruption or > unauthorised access. Thank you. > > Please consider the environment before printing this email.**** > > > _______________________________________________ > ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss**** > > > > **** > > ** ** > > -- **** > > Regards,**** > > ** ** > > Paul Noone**** > > ** ** > > SharePoint Farm Admin/Developer > Infrastructure Team > CEO Sydney > > p: (02) 9568 8461 > f: (02) 9568 8483 > e: [email protected] > w: http://www.ceosyd.catholic.edu.au/**** > > > _______________________________________________ > ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss**** > > ** ** > > _______________________________________________ > ozmoss mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss > > -- Regards, Paul Noone SharePoint Farm Admin/Developer Infrastructure Team CEO Sydney p: (02) 9568 8461 f: (02) 9568 8483 e: [email protected] w: http://www.ceosyd.catholic.edu.au/
_______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
