Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1


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


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.