Hi,
I have sequential workflow with custom InfoPath task forms. Everything gets deployed via WSP and it all works. Now, I need to write business logic for one of the task form and the fun begins. Following are few experiments that I have conducted and my goal is to find the most optimal solution. How did/would you resolve this???
Experiment #1: Include task form DLL alongside the XSN form
I have included the Task form 'dll' along side the 'xsn' file in the project. It get's included in the WSP and deployed just fine and everything works.
Caveat, which i don't like, is that we need to remove the 'dll' block type from the central admin. I understand that post deployment we can put it back on but becomes a manual step!
Experiment #2:Deploy the task from dll to the GAC
I can successfully deploy the task form 'dll' to the GAC; however, the form does not look there. Upon loading the form it throws an error and lists that it cannot find '*.dll' at the path where the 'xsn' is deployed in the 14 hive feature folder.
Is there a setting where we can control the location where the task form looks for its dll?
Experiment #3: Manually upload (in central admin 'Upload form template') only the task form with the code behind
I can manually upload and activate the task form; however, upon opening the task it says that the form is not workflow enabled.
thank you for the help!