Integrating K2 blackpearl with InfoPath with Code Behind
When integrating K2 blackpearl with InfoPath FormServices and the InfoPath form contains Code Behind the following steps will need to be performed:
Steps 16 to 27 are only required if Full Trust is required for the InfoPath Form.
When integrating K2 blackpearl with InfoPath FormServices and the InfoPath form contains Code Behind the following steps will need to be performed:
Steps 16 to 27 are only required if Full Trust is required for the InfoPath Form.
- Create your Form, add your C# or VB code, set it to Full Trust and save the template on the local machine
- Open your K2 Project
- Open the InfoPath Process Integration Wizard
- Select Add
- Browse to your Template saved in step 1
- On the Deployment Location page select Local or Network location
- Complete the Add InfoPath Template and InfoPath Integration wizards
- Deploy your process when done with your design
- After successful deployment browse to the Deployment Location selected in step 6
- Right Click the file and select Design
- Select Publish from the File menu
- Enter your Site URL and click Next
- Select Enable this form to be filled in Using a browser and Continue to the next page
- Enter the Template filename which will have to be uploaded by an
- administrator using the Central Admin and complete the rest of the wizard
- Close InfoPath
- Open the MOSS Central Admin site
- Navigate to Central Admin > Application Manager > Manage Form Templates > Upload Form Template
19.
Browse to the File saved in step 14 and select Upload
When this completed navigate to Central Admin > Application Manager > Manage Form Templates
- Find the template uploaded in the previous step, open the file’s drop down menu and select Activate Template on Site Collection
- Select the site on which you would like to use the template and click on OK
- Browse to the site on which you activated the Template and navigate to the library on which you wish to add the template as a content type
- Ensure that the Library is set to display as a Web Page and apply the changes
- Still on the Library settings page find the Content Types Section and select Add from existing site content types
- Add the Content Type that you enabled on the Site Collection in step 22
- Navigate to the Document Library and Open the content type added
- This should now open the Browser