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


Top 5 Contributors of the Month
david stephan
Fauzul Azmi
Asad Ali
Post New Web Links

Infopath 2010 How to activate the people picker control

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :SharePoint
 
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


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?


InfoPath 2010 People Picker - Find Email Address

  
I am creating a form that uses the people picker to find information on a user but it doesn't appear to contain an email address for the user. I can create another form that uses a web service to connect to the SharePoint 2010 user profile service and pull back the current user details but I want to be able to send data from the people picker to fill in parts of the form with that users details (includiong email) and not the current user

Infopath 2010: Issue storing People Picker value into a SharePoint column

  

In IP form, we have a people picker in which user can select multiple people (not any group). Account ID of this field is a promoted Sharepoint column with merge function.

 

When user fills the form, in people picker s/he can see user names  separated by Semicolon ( ; ). When this value is saved in column in the library, it does not has  semicolon. The values are saved one below the other, in a new line. In html source it is written as <domain>\<<User>><b><domain>\<<User>>.

 

We would&n

How to set a string field with people picker control group

  
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.  

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

(2010) People Picker - How to target only 1 of 2 trusted domains

  

I need the peoplepicker control to point to a single domain.  I have two.

I tried using one of the peoplepicker properties from STSADM, but the peoplepicker is still pulling names from the other domain (the one I did not set using STSADM).

Any ideas?


External List Infopath Form - people picker and dropdown

  

I am editing external list form in InfoPath. I have two questions

1)      My requirements are to put people picker for say employee name field.

When I try to add this control it ask me to bound it to some field as there is no people field I can’t add this control. How can I achieve this?

2)     

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?

 


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 2010 - Attachment and embedded picture control (not linked) missing

  

I'm relatively new to list form designing, but I've got most of want I want completed.

The only trouble I'm having is adding additional attachment controls or pictures.

The only control on the menu for a picture is for a linked (URL) picture.  The attachment control is no where to be found.

What am I missing?

Thanks,

Steve

 


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

 

 


file attachment control on infopath 2010 browser form, validating event not fired

  

If preview within InfoPath 2010, the validating event is fired. But After deploying the form to SharePoint 2010, the validating event does not fire.

Any ideas?

Thanks.


Blog: http://convergingpoint.blogspot.com/
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