Monthly Archives: February 2015

Get current item ID or other field value in an infopath form

Tools >> Data Connections >> Add >> Create a new connection to: Receive Data >> Select SharePoint library or list >> enter the url of the form library (the same address that you published the form to. Then Select the … Continue reading

Posted in InfoPath 2010, SharePoint 2010 | Tagged , | Leave a comment

“An entry with the same key already exists” Error

Check if there are duplicated values in a drop down list If you are trying to set more than one option in a drop down list as selected, i.e., item.Selected = true; , you will get this error.

Posted in SharePoint 2010, Visual Studio 2010 | Tagged , | Leave a comment