.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

How to set a string field with people picker control group

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :SharePoint
 
Hi Guys I have a problem with a form list, when I need to set a string field with de content of people picker control that have more than one "user". Is there any way to put in string a list of user like the people picker control shows in a form? The really problem is I don't know how to read an array of user in a formula rule. any example or idea should be appreciated. tnks.  


View Complete Post


More Related Resource Links

InfoPath 2010, People Picker Control - problem with sharepoint group targeting

  

Hello!

I have developed InfoPath 2010 web form with People Picker Control. I want to set sharepoint group which would be used in People Picker Control to search people. Ok, I set sharpoint site url and aftet that - select sharepoint group 'Test InfoPath group' I need. Everything works fine - I can select only people inside sharepoint group 'Test InfoPath group'.

Now I deploy my solutions (wsp package) on different site collection and sharepoint server installations. In this case People Picker Control can't find right sharepoint group 'Test InfoPath group'. Sometimes People Picker Control select another group, not that I have select in InfoPath Designer and sometimes People Picker Control select all users.

What's wrong with it and can I configure People Picker Control to select sharepoint group?


InfoPath 2010, People Picker Control - problem with sharepoint group targeting

  

Hello!

I have developed InfoPath 2010 web form with People Picker Control. I want to set sharepoint group which would be used in People Picker Control to search people. Ok, I set sharpoint site url and aftet that - select sharepoint group 'Test InfoPath group' I need. Everything works fine - I can select only people inside sharepoint group 'Test InfoPath group'.

Now I deploy my solutions (wsp package) on different site collection and sharepoint server installations. In this case People Picker Control can't find right sharepoint group 'Test InfoPath group'. Sometimes People Picker Control select another group, not that I have select in InfoPath Designer and sometimes People Picker Control select all users.

What's wrong with it and can I configure People Picker Control to select sharepoint group?


Activiate Email forwarding with Person Group Picker field

  
I have inserted 3 person group picker fiels.  I need to set them up so when a user selects a user, it shoots off an email.  I was told that I can set this up in SP designer via a workflow?  If so, can anyone let me know how to set this up properly? Thanks!  Bill KreuderIm a new MS CRM Consultant that is learing all things CRM. Im very excited about 4.0!!!!

A customized EditForm.aspx page giving error because it has a "People and Group" field with a "Allow

  
My customized EditForm.aspx which has a "People and Group" column with the "Allow multiple selections" property as "Yes" was working fine until the Agusust cumulative update was applied into the MOSS server. Now it's giving me the error: "An unexpected error has occurred". Needless to say, when I change the "Allow multiple selections" property to "No", the customized EditForm.aspx page works fine.Forgetting whyMicrosoft introduced this error for now, is there a workaround that you are awre of?

Infopath 2010 How to activate the people picker control

  
I am creating a form where i am populating a people picker with the logged on user. This is fine but how can i then activate the control to get it to lookup the display name and account type.   I am using a rule to set the AccountID field to be the Username function available in rules. Then on the form you have to click on the tick icon to finish the lookup. This is the bit i want to automate.   I also have c# code running in the background so am happy using .NET code to do this.   Thanks   Paul

Validate a People Picker control

  
Hi,I would like to validate a People Editor field. I have tried using the property Allow Empty, but unfortunatly it doesnt work. I have used a Required field validator. Luckily it works to some extent. But the problem starts if there is any postback happening on the page. After the postback, it takes the value to be empty even if there is an entry in the control.Could anyone help me if there is any perticular property to be enabled or any other solution to acheive the validations on People Editor Control Raj

Problems with People-picker control in a large organisation.

  
We are experiencing very slow people searches, when trying to pick a user from a SP group containing 500 names. Some people this week have experienced errors after about 10 minutes of waiting. Background: I have a form where the users need to pick an Authoriser. The List of Authorisers is held in a Custom Sharepoint Group. Site column was then built to select people from that SP Group. The good news is the Lookup address book dialog shows the group members OK Unfortunately if the users do a search in this dialog, or from the main form, the server now takes (on average)  around 3 minutes 51s to find the user (from about 500 names), and sometimes fails completely - either with an error, or just returns control to the form with no result. Has Microsoft changed the algorythm for this search to search the entire AD? (I am working in a huge organisation with domains round the world, some are NT4). On a previous project (last year) a similar search only look 2 s! Any suggestions? Any recent Server packs that might impact this (possitively or negatively?) Thanks Ruth, UK

filling current user name in people picker field when loading form using javascript

  

Hello guys,

I am looking is there any way to fill the current user's name in people picker field in newform.aspx using javascript?

If you anything, please let me know 

thanks


Can we use SharePoint People Picker Control in DotNet Application?

  

Hi all,

We want to use SharePoint People Picker Control in .net application to validate the users. So is it possible to use the People Picker Control in .net application?

Please give me the suggestion...... thanks in advance...


People Picker control used in ASP.Net wizard control. Loses values on Postback?

  

I am using a people picker control in a custom visual web part with Visual Studio 2010, Sharepoint 2010.

The people picker control is on an asp.net wizard control.

On the wizard step with the people picker control, after postback the people picker control has selected values.

But when clicking the next or previous buttons of the wizard control, the people picker control does not retain its selected values.

 

Microsoft.SharePoint.WebControls.PeopleEditor pe

pe.AllowTypeIn = true;
pe.AutoPostBack = true;
pe.AllowEmpty = true;
pe.MultiSelect = false;
pe.SharePointGroup = "My SP Group Name";
pe.SelectionSet = "SPGroup";
pe.ValidatorEnabled = true;
pe.CommaSeparatedAccounts = pe.CommaSeparatedAccounts;

Any suggestions?

 


Rollup breaking on people/group field.

  

I've built a rollup of a list that works great up until include a field called "Project Resources" which is a People/Group field that allows multiple selections. When I add that FieldRef to my ViewFields list the output goes from 4 rolled up items (which is correct) to 0 items. Each list has at least one person in the resources field.

It doesn't matter what form the select command is in (&lt;FieldRef Name=&quot;Project_x0020_Resources&quot;/&gt; or <FieldRef Name='Project_x0020_Resources'/> ) that field seems to break the rollup.

Any ideas?


Chris G.

People picker control is taking forever to return results

  

Hi,

We have been having this issue across all SharePoint Sites in our organization from around a week. The People picker (people search control) control that gets the data from the available user profiles is taking forever to finish. It used to work with first few letters of the person's name but now it is not returning any data for first few letters, it is giving result back only if I type the full name of the person and that too is taking more than 5min to return. How can I fix this issue? All users are getting frustrated as this is most commonly used control in all lists, doc libraries etc.,

Thanks in advance.


People picker Sharepoint control

  
I need to save value that i have entered in textbox of people picker control is there any event on which i can save my value like for textbox there is textchanged event.... 

Infopath Question: XPath code to remove domain name from AccountID field in Person/Group Picker

  

I have an infopath email based submission form where I am using the Person/Group picker as a way for people to find people in the active directory to CC the form to. I was using the field "DisplayName" in the control and discovered that when you try to CC several employees, that it would disrupt the rules and you can't send the form.

I want to use the field "AccountID" but it includes the domain before the email alias (for ex. REDMOND\johndoe). Is there a formula code I could use to remove the domain from every email alias. Right now my CC formula is concat(SubmitterAlias, "; ", DisplayName)


People Picker(Editor) control misbehaviour

  
Hi,

I Have People Editor control on Add and edit custom web part for a sharepoint cutom list.

I am assigning login user name  as a default value on the people editor control. It is working on one server but not showing user name in people editor textbox on other server.

Could you please give any suggestion for above problem

Thanks in Advance

People picker control problem

  

Hi All,

In my infopath form.These are controls included.

Username (text field)

People picker field.

section control.

I used conditional formatting to hide the section for specific users according to user name field.

It is working....but when I pick an user from people picker,section will hide even any user.people picker not related to user name field......how can I solve this problem?

 

Akalanka

 

 


SharePoint Problem with Base Field Control Multilookup and Person and Group

  

Hi,

I am creating a custom field type. Inside this field type I need to create controls for various SharePoint field types like Number, Single line of text, lookup, multilookup, Preson and Group etc.So I am using SharePoint BaseFieldControl class to generate these controls. It works fine for all field type except for "Multi lookup" and "Person and Group" columns. Normally these controls are working fine but after a post back all the values gets removed and empty controls are shown. Is there any property exists which i need to set to retain values in between post backs??


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend