Skip to main content

Hi,


I have an Infopath integrated process. At the end of the process I want to convert the InfoPath form as a PDF and save to a document library. Does anyone know any easy way to do this in Blackpoint? 


I found this link http://www.deonsmit.com/2008/06/pdf-output-from-k2-with-infopath-signed.html but there is not much detail on where to find the InfoPath image string or how iTextSharp is used...........


If anybody knows any easier way to do this or maybe point me to an article that has abit more detailed instructions that would be great


Thanks,


Ciara

K2 support has informed me this isnt possible in K2 Blackpoint.


The link above is for electonically signed forms only so will also not work.


If anybody has any suggestions of a workaround or a third party tool that would work that would be great


Thanks :)


Hi Ciara.


Hope the following will help you.


 


As per Dave Markus:





Normal
0




false
false
false

EN-ZA
X-NONE
X-NONE











MicrosoftInternetExplorer4





























































































































































You could also use the Bamboo offering. I
found a post below.


 


Office to PDF Conversion Solution
Accelerator
 formerly only converted using OpenOffice.org as the
conversion engine, which was known to cause distorition in some
documents.  Now with the appropriate Microsoft Office 2007 application
installed on the conversion server, users can produce more professional looking
PDF files, INCLUDING InfoPath Forms stored in a Forms Library!


Here are the required steps to
configure Office to PDF Conversion Solution
Accelerator
to convert InfoPath forms to a PDF shadow library.



  1. These instructions
    assume that you have successfully installed both the Activator and
    Conversion installations on the appropriate servers.  NOTE:
    If you only plan to convert file formats mentioned above using
    the Microsoft Office 2007 Applications, you are not required to
    install the OpenOffice.org suite.

  2. We also assume that Microsoft
    Office InfoPath 2007 is installed on the same server where the Conversion
    Installation Package was installed.

    If
    Service Pack 2 of Microsoft Office InfoPath 2007 was installed, skip step
    3 and move to step 4.

  3. Install the 2007 Microsoft Office Add-in:
    Microsoft Save as PDF or XPS
     on the Conversion server.

  4. Open the following directory on
    the Conversion server: C:Program
    FilesBamboo Solutions CorporationBamboo.Conversion.Servicein
     
    NOTE: if running a 64-bit OS, the directory will be C:Program Files(x86)Bamboo
    Solutions CorporationBamboo.Conversion.Servicein

  5. Locate and open in Notepad Bamboo.Conversion.ConversionService.exe.config
    Locate the following section of code:



       <providers>

        <!--

        If Office 2007 is installed on the conversion
    server you can uncomment this section to try the beta version of our
    Office converter

        Make sure to remove the doc extension from the
    other converter.

        Also make sure to start Word as the service
    account user one time to populate the user profile.

        
    <add
    name=".doc;.docx;" type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.WordConverter" />


        -->    

        
    <add name=".ppt;"
    type="Bamboo.Conversion.OOfDoc2Pdf,
    Bamboo.Conversion.OpenOfficeConverter" />


        <!--

        This converter can be enabled if the Microsoft
    Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File
    Formats is installed

        Download it from:

        http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en

          

        <add
    name=".docx;.pptx;.xlsx;.doc;.ppt;.xls;"
    type="Bamboo.Conversion.OOfDoc2Pdf, Bamboo.Conversion.OpenOfficeConverter2007"
    />

        -->

       </providers>



    You will notice a couple of things, the line in
    green defines
    which file types will be converted by Microsoft Office 2007 applications,
    while the line in
    red defines which files are
    converted by OpenOffice.org suite.  In order to have files converted
    using Microsoft Office 2007 applications, two things will need to
    happen: 1) Notice it has been commented out where the following
    is below the line -->
    move this above the line, and 2) You need to make a new line with a slight
    change for each file format you want to convert using Microsoft Office
    2007 applications, and each is listed below:



    For Doc and Docx (Word):

    <add name=".doc;.docx;"
    type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.WordConverter" />



    For XLS
    and XLSX (Excel):

    <add name=".xls;.xlsx;"
    type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.ExcelConverter" />



    For Pub
    and Pubx (Publisher):

    <add name=".pub;.pubx;"
    type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.PublisherConverter" />



    and
    finally, for XML (InfoPath):

    <add name=".xml;"
    type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.InfoPathConverter" />



    If you
    were to include all conversion types listed above, an updated
    <providers> tag would look something like this:



       <providers>

        <!--

        If Office 2007 is installed on the conversion
    server you can uncomment this section to try the beta version of our
    Office converter

        Make sure to remove the doc extension from the
    other converter.

        Also make sure to start Word as the service
    account user one time to populate the user profile.

       -->

        
    <add
    name=".doc;.docx;" type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.WordConverter" />


        
    <add name=".xls;.xlsx;"
    type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.ExcelConverter" />

      
     
    <add name=".pub;.pubx;"
    type="Bamboo.Conversion.WordConverter,
    Bamboo.Conversion.PublisherConverter" />

       <add name=".xml;"
    type="Bamboo.Conversion.WordConverter, Bamboo.Conversion.InfoPathConverter"
    />


        

       
    <add name=".ppt;"
    type="Bamboo.Conversion.OOfDoc2Pdf,
    Bamboo.Conversion.OpenOfficeConverter" />


        <!--

        This converter can be enabled if the Microsoft
    Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats
    is installed

        Download it from:

        http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en

          

        <add
    name=".docx;.pptx;.xlsx;.doc;.ppt;.xls;"
    type="Bamboo.Conversion.OOfDoc2Pdf,
    Bamboo.Conversion.OpenOfficeConverter2007" />

        -->

       </providers>

  6. After updating the appropriate
    providers in the Bamboo.Conversion.ConversionService.exe.config,
    go to Services
    on the Conversion server, and restart the Bamboo Conversion Service.

  7. Login to your SharePoint site
    where you deployed the ConversionConfigurationList
    during the Activation Server installation.  Open List Settings of
    the ConversionConfigurationList and open the column properties for ConversionType
    Add the options XML
    to PDF
    and save the changes.

  8. Create a new item in the
    ConversionConfigurationList, selecting the XML to PDF option, set the
    Master Library to the Form Library you want to convert, and enter all
    other appropriate details.


Wait 'til the
scheduled time to convert and PDFs versions of your InfoPath Forms will appear
shortly thereafter!


 


Kind regards,


Brink






Thanks Brink! I had some trouble with the Bamboo tool so I think were are going to use the Muhimbi PDF convertor instead http://www.muhimbi.com/Products/PDF-Converter-for-SharePoint.aspx  - use this convertor in a SPD worklfow set up on a document library and get K2 to drop the InfoPath form to this doc library when I need a conversion.


Thanks for the help :)


 


Hello Ciaramc ,

 

Do you have documentation or more information related to using Muhimbi to convert K2 form into PDFs .

 

Thanks 

Ruchi

 


Reply