• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/The DocumentsCorePack connector Actions explained

The DocumentsCorePack connector Actions explained

1717 views 2 Updated on January 27, 2023

The DocumentsCorePack (DCP) connector is designed to bring the rich document generation and processing capabilities of DocumentsCorePack to Power Apps and Power Automate (Flows).

Here are some of the actions that the DCP connector offers.

Document generation actions

Create document (sync)(V2)

This function creates a new document job and waits for the result for up to [TimeOut] seconds.

Create DocumentJob (async)(V2)

This function creates a new document job. This function does NOT wait for a result.

Create document based on an XML (sync)(V2)

Creates a document consisting of multiple elements defined in XML format.
Create DocumentJob based on an XML (async)(V2)Creates a document consisting of multiple elements defined in XML format.

Run OneClickAction (sync)(V2) 
This function runs a One-Click-Action and waits for the result.
Run OneClickAction (async)(V2) This function runs a One-Click-Action and does NOT wait for a result.

Document processing actions

Attach DocumentJob as note (V2)Attach the file generated by a DocumentJob as a note to a Dynamics 365 entity. The DocumentJob must already be finished.
Attach file as note (V2)Attach the file supplied as base64 string as a note to a Dynamics 365 entity. The DocumentJob must already be finished.
Attach DocumentJob to email (V2)Attach the file generated by a DocumentJob as an attachment to a Dynamics 365 email.
Attach file to email (V2)Attach the file supplied as base64 string as an attachment to a Dynamics 365 email.
Send email (V2)Send the specified email.
Print DocumentJob (V2)Print a Document generated by a DocumentJob. The DocumentJob must already be finished.
Print File (V2)Print a file supplied as base64 encoded string. Supported file-formats are PDF and DOCX.
Sign DocumentJob based on an XML (sync) (V2) This function digitally signs a DocumentJob and waits for the result.
Concatenate two DocumentJobs (V2)Concatenate two Document Contents (pdf,docx) generated by two DocumentJobs.
Concatenate two Document Contents or base64 encoded files (pdf,docx) (V2)Concatenate two Document Contents or base64 encoded files (pdf,docx).
 

Supporting Actions:

CreateSharepointFolder (V2) This function creates folders on SharePoint.
Get DCP PrinterRetrieve available printer names, optionally filtered by user.
Get DocumentJob Result (V2)Retrieves DocumentJobs status information. The result will include the result document if the job is finished.
Get DocumentJob Status (V2)Retrieves the status of a DocumentJob. Dynamics 365 state/status code rules apply.
Get OneClickActionsThis function returns all One-Click-Actions in Dynamics 365.
Get Profiles for a UserAPIKeyThis function returns all Profile Ids in Dynamics 365.
Get SignProvidersThis function returns all SignProviders known in the AutomergeSolution.
Get TemplatesThis function returns a list of available DCP Templates.
WhoAmI (V2)Returns information about the currently used API Key and associated Service.

Deprecated Actions

Retrieve EntityNames with annotation capability This function returns a list of all Dynamics 365 entities that support annotations.
Get DCP CombineTypes for DocumentConcatenation This function returns a list of supported CombineTypes for DocumentsCorePack. 
Get a list of dynamics users This function returns a list of dynamics users.
Available DCP Actions This function returns a list of supported actions for DCP.
Get DCP FileTypes Outputfiletype supported by DCP.
Get Concatenation ResultTypes Options for merging documents.
Get Single TemplateGet Template.
IsServiceAliveCheck DCP availability.
Get DCP FileTypes for XmlBased generation Outputfiletype supported by DCP.
Get connection detailsInformation about the service connected to this API key.
Check API Availability Check if the connector is available.

Back to “The DocumentsCorePack connector for PowerApps and PowerAutomate (Microsoft Flow)“.

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com

Was this helpful?

2 Yes  1 No
Related Articles
  • Template Management in DocumentsCorePack 
  • “Undefined”-labels in Chrome 114 and higher
  • Generate large documents using the Multipart-feature of DocumentsCorePack 
  • How to automate the E-signature process via Power Automate
  • Technical Description: The AutoMergeWorkingItem (AMWI) 
  • Dataverse Online OData v2.0 endpoint removal for custom “ExportToWord” Button
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • Template Management in DocumentsCorePack 
  • “Undefined”-labels in Chrome 114 and higher
  • Integrating JSON data into documents
  • Generate large documents using the Multipart-feature of DocumentsCorePack 
  • Recap: DynamicsMinds Conference 2023
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • Step-by-Step: How to configure a One-Click-Action
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Online Service Configuration
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • “Undefined”-labels in Chrome 114 and higher
  • “Blocked by Conditional access” error in Azure Active Directory
Categories
  • *News and General Infos* 52
  • Webinars 36
  • Template Designer(DCP 181
  • DocumentsCorePack(DCP 198
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 62
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.