• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Display rules for One-Click-Actions

Display rules for One-Click-Actions

1207 views 2 Updated on October 19, 2022

One-Click-Actions (OCAs) are predefined settings for the DocumentsCorePack dialog to simplify and streamline document generation and delivery within Dynamics 365 and PowerApps. The purpose of display rules is that users only see OCAs that are relevant to them. In this article, learn how to set the display rules for OCAs.

If you first need more information about how to access and configure an OCA, have a look at this article.

How to set display rules for One Click Actions

  • Set display rules via Conditions
    • Display rules via Use Conditions – This option is commonly used for simple conditions.
    • Display rules via Fetch – Enter a Fetch-XML query for complex conditions.
  • Display rules via Security Roles – Select the role(s) a user must have to be able to see the OCA.
  • Display rules via Business Units – Select the business unit(s) a user must be a member of to be able to see the OCA.
  • Display rules via Teams – Select the team(s) a user must be a member of to be able to see the OCA.

Please Note: These four types of display rules (Conditions, Security Roles, Business Units and Teams) are linked. This means that all conditions must be met for the OCA to be displayed.

For example, if you set display rules for all four tabs, then every condition must apply to have the OCA displayed for a user.

.

Set display rules via Conditions

Open the DocumentsCorePack settings and navigate to the ❶ One-Click-Actions tab. An overview will open and will show the ❷ OCAs that have been created for the respective entity. To ❸ open it, click on the entity and a One-Click-Actions window will pop up. To open the display rules dialog, press the ❹ [+] button. (Note: if a display rule has already been configured, you will see an [eye]-icon.)

You can choose between Use Conditions (for simple conditions) or Use Fetch/View (enter a Fetch-XML query for complex conditions).

Open display rules-dialog
Figure 1: Open display rules-dialog

.

Display rules via Use Conditions

First, choose Use Conditions in the ❶Conditions tab. Here you have the possibility to add additional conditions as display rules. 

A new condition (based on an attribute/column) can be added with the ❷ +New button.

It should be noted that the Save process requires to save each row with the ❸ Save icon, and to then confirm all conditions with the ❹ Save button again at the bottom-right corner of the screen.

OCA - display rules configuration
Figure 2: OCA – display rules configuration

.

Display rules via Fetch

When you are unable to create your desired display rules using the simple conditions, you can choose to use the Use Fetch/View options. In this window (Figure 4), you can enter a Fetch-XML to set a more complex filter for displaying OCAs. These statements can be generated by Advanced Search, by using additional third-party tools, or you can select an existing “view” as your FetchXML.

Please Note

  • OCAs will be displayed as soon as the Fetch returns a result.
  • Please activate the Advanced find in model-driven apps if you want to generate a Fetch-XML from the Advanced find.

Use Fetch - View to enter XML instructions
Figure 4: Use Fetch-View to enter XML instructions

.

Display rules via Security Roles

In the Security Roles tab, you can select the role that a user has to have to be able to see the OCA.

Click the +New button to open an overview of all Security Roles.

Security Roles for display rules
Figure 5: Security Roles for display rules

.

Display rules via Business Units

In the Business Units tab, you can select the business unit a user has to be a member of to be able to see the OCA.

Click the [+New] button to select the organization, and then select Save.

Selected business unit for display rules
Figure 6: Selected business unit for display rules

.

Display rules via Teams

In the Teams tab, you can select the team a user has to be a member of to see the OCA.

Display rules via Teams

Figure 7: Display rules via Teams

That’s it! If you require further assistance or would like to share feedback, please reach out to us at support@mscrm-addons.com.

For additional reference to related topics, please explore the articles below:

  • One-Click-Actions (OCAs) in DocumentsCorePack
  • Step-by-Step: How to configure a One-Click-Action
  • Multipart documents in DocumentsCorePack

Was this helpful?

2 Yes  No
Related Articles
  • How to share the Connection of the DocumentsCorePack Connector
  • AssureSign for DocumentsCorePack
  • How to conditionally remove a watermark in DocumentsCorePack templates
  • Document Processing with DocumentsCorePack (DCP)
  • How to activate SharePoint in DocumentsCorePack
  • Fillable PDF forms
Latest Articles
  • How to share the Connection of the DocumentsCorePack Connector
  • How to update the metadata in the DocumentsCorePack Template Designer
  • Working with Product Properties in DocumentsCorePack
  • How to work with the Relationship Manager
  • Using virtual tables in DocumentsCorePack
Popular Articles
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • DocumentsCorePack Template Designer – Getting Started
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Online Service Configuration
  • Step-by-Step: How to configure a One-Click-Action
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
  • Online Services: Required Application Permissions
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
Categories
  • *News and General Infos* 51
  • Webinars 35
  • Template Designer(DCP 179
  • DocumentsCorePack(DCP 192
  • 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.