I am missing the developer ribbon in my infopath. Do I need to reinstall infopath from scratch? Or is there an add-in which I can perform to get the code piece for infopath.
I am trying to write some code on form load in c#. Is it possible?

|
I am missing the developer ribbon in my infopath. Do I need to reinstall infopath from scratch? Or is there an add-in which I can perform to get the code piece for infopath. I am trying to write some code on form load in c#. Is it possible?
|
||||
|
|
|
Open up infopath designer (there should be a shortcut, but if not you can open command prompt, navigate to the exe, and type 'infopath.exe /design') Go to File -> Options In the Infopath Options Menu click on the Customize Ribbon sidebar tab Under Main Tabs there should be an unchecked 'Developer' item, check that and your good! Once you have the Developer ribbon there, you can simply click the On Load Event button under the Events section within the developer tab and it will open up the code window. Keep in mind it (at least for me) defaults to VB, so you have to open up form options, go to programming, and change the form template code language to c# |
|||||||||||||
|
|
You'll find the option for enabling the developer ribbon using these instructions |
|||
|
|