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 ?

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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