Wiki

Clone wiki

Aspose .NET for Dynamics CRM / Aspose .NET AutoMerge v2

Aspose .NET AutoMerge v2

The Aspose AutoMerge is an open source add-on to be used with Microsoft Dynamics CRM. This add-on is capable of generating document using template and attaching them to Any Entity, Letter, sending emails, Generating Copy of document and upload document on cloud storage. Easily configure a workflow and generate documents from templates. Aspose .NET AutoMerge can be used with on-premises only.

Major features of this Addon are: * Create Templates in Microsoft Word and Upload them in CRM. * Create a Document in CRM using the templates. * Allow users to Add OptionSet fields in the templates. * Allow users to Add Lookup fields in the templates. * Provide functionality to attach the generated document with letter. * Provide functionality to attach the generated document with email. * Provide functionality to attach the generated document to any entity. * Provide functionality to send the email. * Provide functionality to create a copy of document. * Upload the document on Cloud Storage. * Delete document when not required (usually used after uploading to Cloud or sending via email).

This add on will work with all versions of Microsoft Dynamics CRM 2013 and 2015.

Downloading Aspose .NET AutoMerge

This Add-on is provided in form of a solution. Easily download and install the solution on your CRM Organization and use it.

You can download the latest solution for Microsoft Dynamics CRM 2013 at:

You can download the latest solution for Microsoft Dynamics CRM 2015 at:

Installing Aspose .NET AutoMerge

  • Install Aspose.Words.dll in GAC on the CRM server.
  • Open Visual studio command Prompt as administrator and browse to the location of Aspose.words.dll and Write the following command to install the library in GAC. “gacutil -i aspose.words.dll”. image:InstallGuide
  • Download the Solution File.
  • Open CRM and go to Import Solution.
  • Click Browse and select the downloaded solution file and click next.
  • Click Next and wait for the solution to import.
  • Click close when the solution is imported successfully.

Using Aspose .NET AutoMerge

This section shows how Aspose .NET AutoMerge can be used with a workflow.

  • Open Settings -> Processes within CRM and hit New.
  • Enter Name and Entity and select category as Workflow. (Make sure your template is designed for the same entity you have selected.)
  • Use the window to create your own workflow.
  • If you want to use “Aspose AutoMerge” functionality Go to Add Step – > Aspose AutoMerge

imageAspose-.NET-AutoMerge-v2

  • Here you will see all available options to use with Aspose AutoMerge:

Create Document

Select this option to create a new document based on the template. image:1433551

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Document Template: Use this lookup field to select Template. This template would be the base of your generated document.
  • Save with primary record: If it is True the generated document with automatically attached with primary entity record.
  • Save As: Provide the output format of the file in which the document should be generated and saved. Possible values are: docx, bmp, doc, html, jpeg, pdf, png, rtf, text, txt (Default: docx).
  • License File Path: If you already own Aspose License for Aspose.Words use this attribute to use the license to generate full version of the document.

Attach to Email

Select this option to attach the created document to an email. This step is used with combination of "Send Email" described below. Please notice that you can select an existing email as well as you can create an email within your workflow.

image:1433554

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Email: Use this lookup to select an already created email. (The email can be from existing emails or created email under the same workflow)
  • Attachment: Select the created Output Attachment file to attach to the email.

Attach To Letter

Select this step if you want to attach the document to Letter. Attach to letter works same like Attach to Email and it will use the letter activity.

image:1433555

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Letter: Use this lookup to select an already created Letter. (This letter can be from existing letters or created letter under the same workflow)
  • Attachment: Select the created Output Attachment file to attach to the letter.

Attach To Entity

Select this step if you want to attach the document to any record. Attach to any record works same like Attach to Email/Letter.

image:1433556

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Attachment: Select the created Output Attachment file to attach to the Entity.
  • Entity Logical Name: Provide the logical name of the Entity here. (Like: account, contact, lead etc)
  • Record Id: Provide the Record Primary GUID here to which the document is attached. Please note that it will not create a copy of document but attach the provided document directly.

Send Email

Use this step to send the email, this is used with the Attach to Email step where the document is attached with the email and sent.

image:1433562

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Email: select the email you want to send.

Generate Copy of Document

Use this step to generate a copy of Document. It is usually used when you want to keep the document with the primary record as well as attach it under any other record.

image:1433564

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Attachment: Select the generated document.

Save To Cloud Storage

Use this step if you would like to upload the generated document on Cloud Storage.

image:1433565

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Product URI: Provide the cloud api reference, by default Aspose Cloud api reference is provided.
  • App SID: Enter the App SID from your Cloud Storage.
  • App Key: Enter the App Key from Cloud Storage.
  • Attachment: Select the generated document.

Delete Temp Document

Select this step if you want to delete the generated document or Generate copy of document.

image:1433566

  • Enable Logging: It will log all the steps performed by the plugin.
  • Log File Directory: It will contains the path where the Log information is written. (If it is Empty, default path would be "C:\Aspose Logs")
  • Attachment: Select the document here.

Video

Please check this video to see it in action.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with Aspose. Once you have signed up, you are ready to try powerful file processing features offered by Aspose file format APIs.

Customer Feedback

Your feedback is very important to us. Please feel free to provide feedback and raise feature requirements. We are keen to implement customer driven features since we are a 100% customer driven company.

Updated