Power Dynamics
  • Power Dynamics
  • 🍕My name
  • D365 CE
    • Copilot
      • 🥐Add Copilot into Rich Text Control
    • Sales
      • Copilot in D365 Sales
      • Export record to PDF
    • Customer Experience
      • Contact Center (Omnichannel)
        • 🐚Internal Live Chat in MDA
        • 📢Add Chat Widget to Power Pages - Proactive Chat
      • Attachment Control
      • Case Routing: Basic Routing rule set
      • Custom SLA for any Entity
      • Customer Insight
        • Journey - Custom Trigger - Call Power Automate
    • Field Service
  • Power Platform
    • Analytics
    • Dataverse
      • Use case for the feature of Record ownership across Business Unit
      • 💡Workaround: Change the OOB "Exchange Rate" of a record
      • Using a Virtual Entity to store historical log (sample)
      • Disable Empty Address record
      • Using Adaptive card
      • Block Unmanaged Customizations
      • 🪃Recycle Bin on Dataverse (Preview)
    • Model Driven App
      • 💡Run SSRS report on MDA mobile
      • 💡Tip: Create a Security Role with "App Opener" minimum privileges
      • Tag @person to notify in MDA
      • Auto search on the Lookup field
      • Activities with multiple related records
      • Embedded Power BI - Dashboard
      • Embedded Power BI - Form
      • "Custom Help" - Is it help?
      • New modern Command Bar
      • Tip: Hide the button "Add Existing Record" on subgrid
      • Custom Page - Why not?
      • Hiding sensitive column data
    • Canvas App
    • Fabric & Power BI
      • New Text slicer
      • Dataverse link to Microsoft Fabric
      • 💡Leveraging Interactive Warehouse Floor Maps in Power BI
      • Calculation Group for Time Intelligence
    • Power Automate
      • ✅Sequential Approval
      • 📤Create an Appointment by Outlook Graph API
      • Dowload SSRS Report and Send email
      • Power Automate: Add a table in Email
      • 💡Tips: Get "DisplayName" of the Lookup field on Power Automate
      • E-sign: Power Automate & DocuSign
  • D365 Finance & Operation
    • General
      • 🇻🇳D365 FnO - Virtual entities: Use case
    • Finance
      • Consolidating Customer & Vendor Balances
    • Supply Chain
      • Landed Cost Series
        • Landed Cost- Essential Configuration
        • Landed Cost Scenarios 1
Powered by GitBook
On this page
  • Add Attachment Control for a custom entity
  • Security Role - Permission

Was this helpful?

  1. D365 CE
  2. Customer Experience

Attachment Control

#MDA, #Dataverse, #AttachmentControl, #D365, #CustomerService, #Case

PreviousAdd Chat Widget to Power Pages - Proactive ChatNextCase Routing: Basic Routing rule set

Last updated 1 year ago

Was this helpful?

Add Attachment Control for a custom entity

The Attachment Control is a PCF control in D365 Customer Service.

This control is set on Case forms as default so that you can upload and view attachments. Moreover, you can use this PCF on other entities: Account or Contact, but this was not possible for custom entities until now.

Note: You must have at least 1 D365 Customer Service Enterprise or Professional license.

Now, I will add the Attachment Control for the Case main form

Opening the solution, select the Case entity, and open the specific main form. Then select the existing or add a new Single Line of Text field to the form and add the Attachment Control over that field as below. Then Save & Publish the form.

Checking... and the attachment control has been shown on Case's main form.

Security Role - Permission

When I display this control on the form, I encounter a permission issue when I click the button <+Add attachment> to attach the file to Case.

Working around and found some things:

  • Firstly, you must enable security on the Attachment entity in Settings> Product > Features

  • Second, you must set permission of entity "Entity Attachment" for the Security Role that was assigned to the User.

... and re-checking now

And the entity "Entity Attachment" is not counted in "Dataverse" capacity, this entity is counted in "File" capacity.

For more details, please check the Microsoft .

Thank you and hoping well. [NTD]yns.asia ... Thank you.

link
☕
❤️
invite me a cup.
Add control on Main form for text field
Attachment control on Case form
Permission Issue
Enable security on Attachment entity
Set permission for Entity Attachment
Check attachment control
Entity Attachment is counted in "File" capacity