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

Display rules for One-Click-Actions

635 views 1 Updated on March 16, 2022

This blog article outlines how to add display rules for One-Click-Actions. The purpose of display rules is that users only see One-Click-Actions that are relevant to them.

More information about how to configure a One-Click-Action can be found here.

Please open your Dynamics 365 Settings, navigate to MSCRM-ADDONS-section and select DocumentsCorePack. In the main configuration window please go to the One-Click-Actions-tab. Select the entity for which you want to configure the one-click-action (in this case Contact) and hit the [Edit]-button.

In the so opened window, you are provided with all one-click-actions for the entity Contact. With a klick on the [+]-button on the right side, you can add a display rule for your one-click-action.

Display rules via security roles
In this example, we want to assign the “Send  quote to customer via email” OCA to a security role by hitting the [+]-button. 


Add display rules for OCA
Figure 1: Add display rules for OCA

 

 

​In the window below, please select the security role that a user has to have to see this one-click-action. In this case, we select Customer Service Representative as you can see highlighted in yellow below. ONLY users with this security role will be able to see the OCA. If nothing is selected everyone will see the one-click-action.


Select security role
Figure 2: Select security role

 

​

​Display rules via field values
You also have the possibility to  add additional conditions as display rules. Therefore, please hit the [Advanced]-button at the bottom of the window above. Here you can find all attributes of the entity Contact. In this example we select Status and Active from the drop-down menu, which means that this OCA will ony be shown for contacts that are active as you can see in  the figure below.
Please notice: If in addition to a field condition a security role is selected they are considered to be of type “AND”, which in our example, means that only users with the Customer Service Representative security role, that are on a contact with the status “Active” can see this one-click-action.


Define additional conditions to show the OCA

Figure 3: Define additional conditions to show the OCA

​

Display rules via Fetch
You may have seen that the solutions discussed so far are missing some features.
When you unable to create desired display rules using the above solutions, you can enable the [Use-Fetch]-toggle-button in the upper-right corner of the “additional conditions” popup window (Figure 3)
In the new window (Figure 4) you can enter XML instructions to set a more complex filter for displaying OCAs.
These XML statements can be generated from Advanced Search, or using additional third-party tools.
The OCA will be displayed as soon as the FETCH returns a result.

Select security role

Figure 4: Using Fetch – window to enter XML commands

 

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

 

Was this helpful?

1 Yes  No
Related Articles
  • Control access to DocumentsCorePack One-Click-Actions via Dynamics 365 security roles
  • How to access mscrm-addons product settings in Dynamics 365
  • One-Click-Actions (OCAs) in DocumentsCorePack
  • Service Configuration options
  • Multipart documents in DocumentsCorePack
  • Azure Active Directory Licensing counts explained
Latest Articles
  • Control access to DocumentsCorePack One-Click-Actions via Dynamics 365 security roles
  • How to display various activity-attributes within multiple rows in Gantt view
  • Recap: European Power Platform Conference 2022
  • How to solve the issue with DocumentsCorePack fields in Arabic text
  • How to access mscrm-addons product settings in Dynamics 365
Popular Articles
  • DocumentsCorePack Online Service Configuration
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • How licenses are counted
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
  • Can you save data capacity by moving email content?
  • How to activate Azure Active Directory Licensing (AAD Licensing)
Categories
  • *News and General Infos* 50
  • Template Designer(DCP 160
  • DocumentsCorePack(DCP 181
  • TelephoneIntegration (TI 64
  • AttachmentExtractor (AE 55
  • PowerSearch (PS 43
  • ActivityTools (AT 57
  • SmartBar (SB 51
  • GroupCalendar (GC 45
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.