Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Access dynamicproperty for quote generation

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everybody,

I want to generate a word document from my quotes. Either by using the mail merge or the word template functionality.

I ran into two issues: 

1. When using the word template functionality I am not able to access produce properties such as the product description or the dynamicproperties (as inherited from the product's family and configured in the opportunity).

2. When using the mail merge functionality I can also chose the product description but not the dynamicproperties.

What are the dynamicproperties used for when I can not access them in any way? I can fill the CRM with information but when it comes to generating a quote in a format that I can send to my customer the information is practically worthless IMO. Correct me if I am wrong.

Is there any possibility - apart form 3rd party solution - for an average user to access the dynamicproperties?

- Cowboy

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access dynamicproperty for quote generation

    Yes they are accessible. You can access "dynamicproperties". Here's sample FetchXML to return a selected property value (Option Set) on an Opportunity Product, for an Opportunity:

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" >

       <entity name="opportunity" >

           <link-entity name="opportunityproduct" from="opportunityid" to="opportunityid" link-type="inner" alias="af" >

               <link-entity name="dynamicpropertyinstance" from="regardingobjectid" to="opportunityproductid" link-type="inner" alias="ag" >

                   <attribute name="valueinteger" />

               </link-entity>

           </link-entity>

           <filter type="and" >

               <condition attribute="opportunityid" operator="eq" value="xxxxxxxxxxxxxxxx" />

           </filter>

       </entity>

    </fetch>

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access dynamicproperty for quote generation

    You can access "dynamicproperties". Here's sample FetchXML to return a selected property value (Option Set) on an Opportunity Product, for an Opportunity:

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" >

       <entity name="opportunity" >

           <link-entity name="opportunityproduct" from="opportunityid" to="opportunityid" link-type="inner" alias="af" >

               <link-entity name="dynamicpropertyinstance" from="regardingobjectid" to="opportunityproductid" link-type="inner" alias="ag" >

                   <attribute name="valueinteger" />

               </link-entity>

           </link-entity>

           <filter type="and" >

               <condition attribute="opportunityid" operator="eq" value="xxxxxxxxxxxxxxxx" />

           </filter>

       </entity>

    </fetch>

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access dynamicproperty for quote generation

    :(

    Thanks anyway Cord

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access dynamicproperty for quote generation

    Dear Delphine,

    no, unfortunately, this does not seem to be possible. Product properties (dynamicproperties as well as product description) are not accessible.

    - Cord

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access dynamicproperty for quote generation

    Hi,

    Did you finally find a solution? I am deeply interessted since I do have the same question.

    Thanks for any feedback.

    Delphine

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access dynamicproperty for quote generation

    Hey Sandeep,

    This does not help me, unfortunately. The Youtube video uses a 3rd party plug in and the Microsoft ressource only covers how to generate templates.

    Generating templates is not my problem. My problem is accessing the dynamicproperties of a product within a quote, invoice etc.

  • sandeepstw Profile Picture
    sandeepstw 4,601 on at
    RE: Access dynamicproperty for quote generation

    Hi,

    User template generation feature of dynamics CRM.

    check out this video and blog:

    www.youtube.com/watch

    www.microsoft.com/.../using-word-templates-in-dynamics-365.aspx

    please verify my answer if helps.

    Thanks,

    Sandeep

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,401 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans