Unreferenced files in xsn package

V

vishal

I want to come up with a form that people could later modify and repackage.
The modification would include editing a config file to specify a name of a
dll in it, which would be loaded by the form code.

Of course, the dll also needs to be present in the xsn. But when I do that,
the basic validation of Infopath fails that all files must be referenced.

Any way I can overcome this? Thanks in advance.
 
P

p4a

Did you try this: "Save a form template's form files to a folder" in search
field for InfoPath help?
 
V

vishal

But i need to do the reverse. Create a form template from the files in a
folder. And i want to add a dll. I partially solved the problem by adding
the dll as a resource file in the infopath form(in design mode) but this
way, the form code isn't able to execute the api's in the dll because it
doesn't have full trust.

Any other way i could do that?

PS: The constraint is that we don't have codebehind at this stage. Some
other person should be able modify the xsn file to add a dll somehow.
(Assuming he has the private key to sign the form again.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top