web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Quotedetail upate dynamicpropertyinstance message

(0) ShareShare
ReportReport
Posted on by 115


I want to update a custom field with the information of all associated dynamicproperties of a quotedetail? How to execute this plugin when the dynamicpropertyinstances of a quotedetail are changed? Is there a message on the quotedetail or do i have to register it on the DynamicPropertyInstance entity, than get the related quotedetail and all its other dynamicpropertyinstances to finally update the custom field at the quote detail? 
Is there an alternative approach by triggering that plugin via javascript? 

pastedimage1648716060264v1.png

I have the same question (0)
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at

    Hello Andreas,

    Can you provide more detail for above requirement.

    Because As per above information is this 3 fields are part of Quote detail entity? If yes then do you want to perform some operation if there is any change on one of the field?

  • AndreasB83 Profile Picture
    115 on at

    Those fields are dynamic properties of a product which is the product of a quotedetail. When a product is atttached to an quote, the quotedetail is created. I added an custom field to the quotedetail which holds a list (html) of the actual property config and is used to insert as an template marker in the quote-template. Thats why i need to update that custom field every time the configuration of the dynamic properties of an quotedetail item changes. And since the propertie section seems to be standard quotedetail-stuff i am wondering which message is triggered when someone clicks the save icon.

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at

    Hello Andreas,

    So above fields are part of Product entity?

    and when you are creating a Quote Details you have product lookup. In that lookup u can populate the Product.?

    u have a custom field on the Quote Detail Entity which has (html) code.

    also u are saying that above mentioned 3 fields are available on the Quote Product entity correct?

    and when there is change in the above 3 fields of the Quote record entity you will need to update the Custom HTML field?

    please let me know if above information is correct.

    Thank you,

    Amit Katariya

  • AndreasB83 Profile Picture
    115 on at

    Yeah, a product has properties, if you add it to a quote as a quotedetail this quotedetail also shows the properties. There can be several of them. On creation of a quotedetail i grab all the keys and values of those properties an form a html-custom-field of it. This field is used in a word-template for the quotes. So on creation this is working but i have to update the custom field of the quotedetail everytime one of the associated dynamic properties of the quote details changes. And a change of any of the dynamic properties wont trigger update on quotedetail. So i am wondering how to hook into there.

  • Verified answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at

    Hello Andreas,

    You can trigger your code 2 ways.

    1. use workflow for trigger then you can call the plugin assembly(Workflow activity).

    2. Plugin "update" step where u need to mention the above 3 attributes as trigger point.

    Thank you,

    Amit katariya

  • AndreasB83 Profile Picture
    115 on at

    You are right, normal update event works. I had a condtion for depth > 1 {return;} in there and thats why while my test the code never got executed when updating the dynamic property section.

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at

    Hello Andreas,

    Happy to hear this.

    Thank you,

    Amit Katariya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans