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

When I creating a infopath conected with list in creator from Microsoft InfoPath Designer the bookmark which called developer is hinding, and I can't editing or writing any of code. How could I connected with list, and couldediting a code in InfoPath? Please help.

share|improve this question
i can't understood what you saying.... can you give more explanation ? – Hitesh Chandegara Dec 28 '12 at 9:42
Infopath blocking my ModalDialogBoxes wchich are fired from Event Receiver by the code: ` properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl; properties.RedirectUrl = "/_layouts/Add4/MorePercentThenRange.aspx"; properties.ErrorMessage = "You cannot save this list item at this time";` – Grzegorz Z Dec 28 '12 at 15:07

Code-behind is "by-design" unavailable for Infopath templates of type/compatibility "Sharepoint List Form", use other types of forms if you want to code, though coding is bad approach in Infopath forms, aka maintenance horror, as I cannot imagine what cannot be done codelessly, with rules.

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.