Nintex and Muhimbi

Name
MJN SP Migration

Document
Muhimbi HTML to PDF Converter-Nintex Online and MS Flow Technical Guide

Author
Infosys

Date
18-May- 2020

Document Version
1.0

Version History
Version
Date
Description of Change
Author
Approval Authority

1.0
18- May -2020

Table of Contents

  1. Introduction 3
    1.1 Document Purpose 3
  2. Solution Description 4
    2.1 HTML to PDF – (Muhimbi integration with Nintex for O365) 4
    2.2 File to PDF using MSFlow and Muhimbi (MS Flow integration with Muhimbi) 11

Introduction
Document Purpose
This Muhimbi PDF Converter for SharePoint Online and Nintex Workflow for Office 365 is a product of Muhimbi. This is based REST API service.
It also provides covert a file to PDF using MS Flow and Muhimbi service.

It providesfollowing details
HTML to PDF – Using SharePoint Online and Nintex workflow for O365
HTML to PDF (or any File to PDF) – Using MSFlow

Challenges

Solution Description
HTML to PDF – (Muhimbi integration with Nintex for O365)

Steps
Description

1.
Install and enabled App “Muhimbi PDF Converter for SharePoint Online” in Nintex workflow site collection.

1(a)
Navigate to the SharePoint Online Site collection

1(b)
Make sure you have the appropriate privileges to deploy Apps

1(c)
Go to Site Contents-> add and app

1(d)
Click on SharePoint Store in the left-hand navigation menu

1(e)
In the App Store search for Muhimbi.

1(f)
Click on the Muhimbi PDF Converter for SharePoint Online.

1(g)
Click the Add It button

1(h)
Click the Trust It button

2.
Register Muhimbi full or trial subscription and associated API KEY
https://blog.muhimbi.com/2017/08/use-nintex-workflow-for-office-365-to.html

3.
Create or upload List/Site workflow given by Muhmibi for PDF converter and pass App Key value as input parameter.
 
Go to document library and create/import workflow –

4.
Save and Publish workflow. Give manually run while uploading or modifying the document.

5.
Upload a document in document library.

6.
Workflow executed and converts the document in PDF format.

2.
Our Project requirement –
As per our Project requirement, we need convert current list item (from which workflow associate) to PDF.

For achieving this requirement, we have followed up below steps –

2(a)
Create HTML for current item of Nintex form. But place holder for each fields.

2(b)
Create workflow variable and assign HTML to variable.

2( C)
Replacing Placeholder to actual list item value.

2(D)
Upload updated HTML string as HTML file to SharePoint using “Office 365 Upload file”

2( E)
Perform Muhimbi service PDF converter steps.
Create a JSON variable, put site url , source file url , destination file url.

2 (F)
Set API Key

2 (G)
Covert Document service

File to PDF using MSFlow and Muhimbi (MS Flow integration with Muhimbi)
Steps
Description

1.
Sign up Muhimbi PDF converter of  free subscription for SharePoint Online-
https://support.muhimbi.com/hc/en-us/articles/228090827

2.
Login https://india.flow.microsoft.com/manage/environments with tenant credential and created MSFlow –

3.
At time of adding Muhimbi document convert – it has asked Muhimbi credential generated at step1.

4.
Uploaded a word document in my O365 tenant ->source document library.

5.
The word document is converted in .pdf in destination document library.

Standard