Crow Canyon Software Support Crow Canyon Software Support

  • Support Homepage
  • Community Forum
  • Submit a Support Ticket
  • CrowCanyon.com Website
  • Version Release Notes
Home / NITRO Studio- Custom Actions / SharePoint On-premises: Installation of NITRO Office API

SharePoint On-premises: Installation of NITRO Office API

41 views 1 min , 11 sec read 0

Applies To

SharePoint 2013/2016/2019

Description

This article has the instructions to install NITRO Office API. In Custom Actions and NITRO Workflows, Generate Document action has an option to use “Microsoft Office API” for generating the document. To use “Microsoft Office API”, Microsoft Office must be installed on the server. On SharePoint servers, newer versions of Microsoft Office cannot be installed.

NITRO Office API can be installed on a server different from SharePoint servers so that Office API can be used for document generation. Server must have IIS configured and a licensed version of Microsoft Office installed.

Instructions

Pre-requisites

  • Install Microsoft office on IIS Server and make sure that office is licensed.
  • Microsoft .NET Framework 4.8 or above should be installed on the server.
  • Refer https://www.crowcanyon.help/article/678 for configurations required on the server.

Install NITRO Office API

1. Download and copy the “NITROOfficeAPI” package to the IIS Server.

2. Extract the folder, right click on the folder –> properties –> unblock it. Ignore if the folder is not blocked.

3. Paste the “NITROOfficeAPI” folder in the location: ‘C:\inetpub\wwwroot’

4. Open IIS Manager

5. Select Sites and create a new site as shown below:

Add Website as shown below, browse the physical path below that is used for #3 above.

6. After creating the site, select the site and click “Browse website”

7. This will open the site in the browser, copy the URL of the site:

Example URL: http://localhost:1100/api/msword

Modify the URL by replacing “localhost” with the server name and port number used while creating the “NITROOfficeAPI” site:

For example, modified URL will be like: http://SP2016:1100/api/msword

Update SharePoint Farm Property

In this step we will create one farm level property so that Custom Action and Workflow Manager can access the NITRO Office API component. For this we need the URL of the NITRO Office API site (step #7 above).

Open SharePoint Management Shell and run the below script:

Script:

$farm=Get-SPFarm
$farm.Properties["nitroofficeapiurl"] =  "<<NITRO Office API site URL.>>";
$farm.Update()

Note:

In above script, specify the NITRO Web API URL, example:

$farm.Properties["NITROWebAPIURL"] = "http://SP2016:1100/api/msword";
Custom Action NITRO Studio- Custom Actions

About supportTeam

View all posts by supportTeam →

Related Articles

  • Active Directory Groups integration with NITRO
  • Import Tickets using NITRO Custom Actions
  • NITRO Studio Workshop: Invoking Web Services using Workflows & Custom Actions
  • NITRO Studio Workshop: Custom Actions Designer
© 2021 Crow Canyon Systems, Inc. All Rights Reserved
  • Terms of Service
  • Privacy Policy
  • www.crowcanyon.com