SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm start to learn infopath and code, so i don't know how to do this:

i need to save a user for a form infopath to sharepoint i only know this:

root.SelectSingleNode("/my:misCampos/my:grupo15/my:cliente/pc:Person/pc:AccountId", NamespaceManager).Value;

how can i save?

share|improve this question

Jose,

Creating People Picker Form in InfoPath 2010 and How to map person/group picker should help

share|improve this answer
    
thxs, but i try to do by code, actually i do this: – José Nov 22 '12 at 11:33
    
1.- XPathNavigator root = MainDataSource.CreateNavigator(); 2.- string tipoProyecto = root.SelectSingleNode("/my:misCampos/my:tipoProyecto", NamespaceManager).Value; 3.- oWeb.AllowUnsafeUpdates = true; 4.- SPList list = oWeb.Lists["LTMDP01 DATOS PROYECTO"]; 5.- SPListItem item = list.Items.Add(); 6.- item["Tipo Proyecto"] = tipoProyecto.ToString(); but i can do (2 and 6) to a user picker – José Nov 22 '12 at 11:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.