Publishing forms with managed code - InfoPath Dev
in

InfoPath Dev

Publishing forms with managed code

Last post 10-06-2009 07:33 PM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-06-2009 06:34 AM

    Publishing forms with managed code

    Hi everyone, this isn't a bug - as much as it is a question on practice...

    I'm building a number of Web Enabled infopath forms, all use some kind of managed code. The code where it's tied right into the form (you can hit ALT+SHIFT+F12 to get to it). I didn't realize that this code is actually stored on my local machine - not with the xsn file. When I publish the form to the sharepoint server, it works beautifully... but if I send the .xsn to someone, or they download the most recent version of the .xsn from a document library to edit it... how will they get access to the managed code? it's stored as a C# project on my machine. How can I deploy the code with the .xsn? what's the best way to do this? It used to be, with VBA... that the VBA code would just travel with the Office File, be it Access/Excel/Word etc.

    any thoughts on this?

     

  • 10-06-2009 07:33 PM In reply to

    Re: Publishing forms with managed code

    the code is stored at a seperate place, when we publish the form it saves the dll of the code in xsn file. To let others modify your xsn, you have to provide them with the code also, then they can bind the xsn and code at there place. to bind the code and xsn, open the template in design mode, then click on anybutton and click edit code, it will ask for code file location, just browse to your code file and click ok. your bindign is done

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.