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 editing SharePoint 2010 list's Form in InfoPath 2010. Heard I can edit/add custom code via Visual Studio. Checked all buttons on ribbon but cannot find anything referencing to 'custom code' or developement

I can see 'developer' tab when start InfoPath Designer but it disapears when I open my Form (linked to SP list).

Can you please advise how can I use VS then ?

share|improve this question

Client code behind through VSTA (Visual Studio for Applications, and it is not full-pledged Visual Studio... though it is off-topic), which is accessed/created through Developer button on ribbon in Infopath Designer is not available for Sharepoint List Form type (Compatibility < Form Oprions < Info < File) of Infopath template

Check also my answer to question "Custom Code is disabled on my form/(it is a workflow form of a sp list workflow process)/ any workaround?"

In "Table 3. Comparing form library and list templates" of MSDN article

you can find it under entry "Is there support for custom code?"

Note that it is about Sharepoint List Form type of Infopath template. You can bind controls to sharepoint list(s) and engage code-behind in other types of Infopath templates.

share|improve this answer

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.