Skip to main content
Sparkrock

Configuration Settings for WordMerge

WordMerge Web Service Prerequisites and Setup

There are three (3) options available when hosting Word Merge for CRM On Premise or Dynamics 365 Cloud. This section will detail the procedure for each of the following deployment options that include:

  • On Premise – IIS server
  • Client Azure Web Services
  • Sparkrock Azure Web Services

All options are supported by both CRM On Premise or Dynamics CRM. The following are the requirements and setup process for each option.

On Premise Deployment

The following system requirements are required in order to support an On Premise deployment:

  • IIS 7 +
  • Windows Server 2012 +
  • NET Framework 4.5
  • NET Framework 4.5 Feature – HTTP Activation

Preparing the WordMerge Package

  1. Download the WordMerge Zip file
  2. Extract the WordMerge file

     NOTE: Please ensure you record the extracted folder location

Create a IIS Site

  1. Open the IIS Manager

  1. Navigate to the Connections frame on the left side of the Internet Information Services (IIS) Manager screen

  1. Right click in the panel and from the popup menu select Add Website…

  1. On the Add Website dialog enter the Site name: WordMerge

  1. Beside the Physical Path field click the ‘…’ to create the IIS path
  2. The Browse For Folder dialog will appear providing the option to select a directory for the application
  3. Navigate down the folder structure to create the default path as follows: c:\inetpub\wwwroot\
  4. Select the Make New Folder button at the lower left of the dialog to create a folder

  1. When the new folder appears update the default name to WordMerge

  1. Click OK to close
  2. On the Add Website dialog select the Port field and enter a port number which is not in use by any other site on the same IIS

     NOTE: The new site will now be created

Adding Files

  1. To add files to the new folder open the extracted folder from Preparing the WordMerge Package

  1. Select all items within this folder and paste in WordMerge folder created in  Configuration Settings for WordMerge

Final Test

  1. Navigate to the Internet Information Services (IIS) Manager screen
  2. From the Connections panel select the WordMerge site
  3. Select the Content View

  1. From the WORDMERGE Content list select the DocumentMerge.svc file
  2. Click Browse from the Actions panel

 

The following page will open

 

Testing Access from the CRM Server

  1. On the URL replace the localhost with the server name and test the URL from the CRM server

Client Host Azure App

The following system requirements are required in order to support the Client Host Azure App deployment:

  • Microsoft Azure Subscription
  • SSL Certificate
  • Visual Studio to deploy the solutions

     NOTE: WordMerge will require Visual Studio to deploy Azure Web App Services

Setup

  1. Login to the Azure Portal
  2. Click on the App Services

 

  1. Under App Services Click +Add

 

  1. Select Web App

 

  1. Select Create

 

  1. Enter a name in the App name field
  2. Create a new Resource Group or use an existing one if already set up

 
NOTE: It will take a few minutes for the Web App to be created


 

  1. Navigate back to App Services

     You should be able to see the newly create Web App

  1. Select the newly created Web App

Please document the information from the following screen


 

  1. URL will be your WordMerge URL
  2. Download the Get Publish Profile for Visual Studio to deploy the solution to the Web App
  3. Click Get Publish profile and save the publish setting

 

  1. Please send Publish Profile to Sparkrock and we will deploy it to the newly created Web Service
  2. Requirement for Sparkrock to deploy the solution to Web Services
  • Setup a new Sparkrock Azure AD account
  • Access permission to Web Services as Contributor
  1. Under the Web Services Setting
  2. Go To Access Control (IAM) and select Roles

 

  1. Select Contributor and click Add

 

  1. Type in the newly created Sparkrock Account and add to Contributor Roles
  2. Pass the User credentials to Sparkrock before we can start the deployment

In Conclusion

Sparkrock requires the following items before we can deploy the Client Hosted Azure App

  • Azure AD subscription
  • Azure Web Services deployment
  • Publishing settings file
  • An account for Sparkrock to access and deploy solutions
  • Account permission to deploy solutions on Web Services

Sparkrock Hosted WordMerge Services

Sparkrock Hosted WordMerge Services Overview

  1. Sparkrock will be responsible for the implementation and publishing of the WordMerge App
  2. The WordMerge App will be hosted within Canada or a U.S. data center based upon the location of your organization
  3. Sparkrock will provide all security certificates
  4. Sparkrock will be responsible for all future performance monitoring, backups and upgrades

Create Tax Receipt Setting

Users need to create a Donation Tax Receipt Setting record to enable Tax Receipt document generation.

To create a Donation Tax Receipt Setting record:

1. From the navigation bar, hover over Donor Engage Setup tile. 

    The work area tiles display.

2. Click the Donation Tax Receipt Settings tile. 

    The list  of Active Donation Tax Receipt Settings displays.

3. From the command bar, click on New to create a new Donation Tax Receipt Setting record. 

    The New Donation Tax Receipt Setting displays.

4. Create a name for the Receipt Setting field.

5. Select Active from the drop down in the Receipt Status field.

6. In the Receipt Type field, select Charitable or Non-Charitable from the drop down.

In order to complete the WordMerge Template field, users will need to create a new WordMerge Template record. Steps on how to do this can be found in the Create WordMerge Template section. 

7. Once you have created a WordMerge Template, select it from the drop down.

8. Click the Save button at the bottom right of the page.

    The New Donation Tax Receipt Setting displays.

Create WordMerge Template

To complete the New Donation Tax Receipt setting record, users will also have to create a new WordMerge template record.

To create the WordMerge Template:

1. From the WordMerge Template field of the New Donation Tax Receipt Setting record, click the look up icon

2. Click New.

3. The New WordMerge Template (Altus) displays.

4. In the Name field, add a WordMerge Template name.

5. Place a checkmark in the box next to the Published field.

6. To complete the Output Configuration field, users will have to create a New Output Configuration record. For instructions on this please go to Create WordMerge Output Configuration.

7. Click Save and refresh the page.

Create WordMerge Output Configuration

To complete the WordMerge Template record, users will also have to create a new WordMerge Output Configuration record. 

To create the WordMerge Output Configuration:

1. From the Output Configuration field of the New WordMerge Template record, click the look up icon.

2. Click the Search button and then click New.

3. The New WordMerge Output Configuration displays.

4. In the Name field, add an Output Configuration name.

5. From the drop down in the Document Format field, choose the desired output document format (.pdf or .docx).

6. In the WordMerge Cloud Service URL field, use the Web Service that has to be hosted in the client's server. For trial purposes, you can use the following web service URL: 

http://wordmerge.altusdynamics.com:5545/Cloud/DocumentMerge.svc/DocumentMerge

7. From the drop down in the Output Location field, select from one of the following options:

  • Email
  • Notes (Attachment)
  • Network Folder
  • SharePoint 2013 Document Library

WordMerge Email Output Configuration

When the Email output option is selected, the system will prompt the user to enter additional fields on the Output Configuration form.

To complete the Output Configuration form when the Email option is selected:

1. In the Email Sender field, enter the system email that will send emails.

2. In the Email template Title field, enter the Email template title that will be used by WordMerge to populate the email that is going to be sent to the donor.

3. In the To Email Attribute Name field, enter the attribute of the entity on the Tax Receipt entity that is going to be emailed the Tax Receipt (in the To field in this email). For example, it should be set to Donor if the recipient of the email is the donor.

Create Email Template

Users will have to create an Email Template.

To create an Email Template:

1.On the Microsoft Dynamics CRM select the Settings tile, then click the Templates tile.

2. Click the Email Templates link. 

3. Create a new Email Template record by clicking New in the command bar, then choose the email template type Global.

The New Email Template displays. 

4. In the Title field, add Email template title.

NOTE: Use the same title that was used when setting up the WordMerge output configuration. As a reminder, see WordMerge Email Output Configuration.

5. You can add an explanation in the Description field.

6. In the Subject field, you can insert dynamic fields from the Tax Receipt to be populated automatically when sending the tax receipt email. This can be accomplished by inserting the field's schema name between square brackets. For example, if you would like the email subject to be "Thank you (donor name) for your donation!", then the subject should be "Thank you [altus_donor] for your donation!".

NOTE: Only [altus_donor] is allowed on the subject field.

7. In the Body field, you can insert dynamic fields from the Tax Receipt to be populated automatically when sending the email by inserting the fields' schema names between square brackets (See table below for field schema name options). 

8. Click Save and Close to save your email template. 

The table below provides a list of the fields from the Tax Receipt entity that can be inserted along with their corresponding schema names.

Display Name Schema Name
Advantage Amount altus_advantageamount
Advantage Description altus_advantagedescription
Amount To Receipt altus_amounttoreceipt
Appeal Code altus_appeal
Cancelled Tax Register altus_cancelledtaxregister
Current Tax Register Record altus_currenttaxregisterrecord
Description altus_description
Donation Gift Type altus_donationgifttype
Send Preference altus_donationreceiptsendmethod
Date Sent altus_donationtaxreceiptdatesent
Donor altus_donor
Donation Gift Name altus_giftname
Payment Date altus_paymentdate
Receipt Addressee altus_receiptaddressee
Receipt Disclaimer altus_receiptdisclaimer
Receipt Salutation altus_receiptsalutation
Soft Credit (Contact) altus_softcreditcontact
Split Donations Summary altus_splitdonationssummary
Recipient Address altus_taxreceiptrecipientaddress
Tax Receipt Total Amount altus_TaxReceiptTotalAmount
Times Printed altus_TaxRectTimesPrinted
Total Pledged altus_totalpledged

WordMerge Notes (Attachment) Output Configuration

There are no extra fields to set. The system will create the Tax Receipt document and attach it to the Tax Receipt record in CRM as a note.

WordMerge Network Folder Output Configuration

When the Network Folder output option is selected, specific fields should be set.

To set up the Network Folder option:

1. Add the Network Path of a Shared Network Folder to the URN field. For example: \\AltusCRM\Users\Admin\TaxReceipts

2. Place a checkmark in the Use Credentials field if the network folder needs specific credentials to be accessed.

NOTE: If a checkmark is placed in the Use Credentials field, additional fields display that require completion. 

3. In the Username field, select a username from the Active Directory Username that has access to the network folder. Enter only the username without the Domain prefix. 

4. Enter the Password of the username that has access to the network folder in the Password field. 

WordMerge SharePoint 2013 Document Library

When the SharePoint 2013 output option is selected, specific fields should be set.

To set up the SharePoint 2013 Document Library option:

1. Enter the SharePoint site URL in the SharePoint Server URL field.

2. Enter the Document list name for the SharePoint List that will be used to store Tax Receipt documents in the Document List Name field. 

3. Enter the Document List URL for the SharePoint List that will be used to store Tax Receipts in the Document List URL field.

4. Check the Use Credentials field if the SharePoint List needs specific credentials to be accessed.

5. in the Username field, select a SharePoint Username that has access to the SharePoint List. The username can have the following formats depending on whether the SharePoint environment is hosted on premises or through an Office 365 Offering.

6. In the Password field, enter the password of the Username that has access to the SharePoint list.

Congratulations, you are now ready to use Donor Management and WordMerge.

  • Was this article helpful?