How to specify which InfoPath view(s) to convert?
Nutrient’s comprehensive range of PDF conversion tools allows you to easily select which InfoPath view(s) to convert. For detailed information, refer to the following resources:
Converting to non-PDF formats
When converting to formats other than PDF, such as MS-Word, HTML, or Excel, only a single view can be converted at a time. These formats do not natively support merging multiple views into a single file.
Converting multiple views into separate files
To convert multiple views into separate files, use one of the following approaches:
-
Web Services interface:
-
Make multiple calls to the Web Services interface, specifying the desired view in each call.
-
Use the
ConversionViews
property in theConverterSpecificSettings_InfoPath
class to define the view to convert.
For more details, see our User and Developer guide and Knowledge base example.
-
Workflows:
-
Define the
MuhimbiViews
field to select views dynamically, as described in Controlling which views to export to PDF format in InfoPath. -
Use the SharePoint workflow trick described in Dynamically selecting an InfoPath PDF conversion view from a SharePoint workflow.
-
Workflow override settings:
-
Pass
Conversion Specific Settings
using the XML-based Override facility of theConvert Document
workflow activity.
For more details, see Overriding default conversion settings when converting document in SharePoint.
These methods ensure flexibility when working with multiple InfoPath views, enabling efficient conversion workflows tailored to your needs.