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,...
Unanswered

How to write a c# code on this requirement.

(0) ShareShare
ReportReport
Posted on by
Json = 
{
  /triggeringColumns/: [/new_opportunityflag/],
  /triggeringWorkflows/: [/new_quoteflag/]
};

fetchXML = 
<fetch version=/1.0/ output-format=/xml-platform/ mapping=/logical/ distinct=/false/>
  <entity name=/new_product/>
    <attribute name=/new_opportunityflag/ />
    <filter type=/and/>
      <condition attribute=/new_recordtype/ operator=/eq/ value=/798210001/ />
      <condition attribute=/new_product/ operator=/eq/ value=/{Id}/ />
    </filter>
  </entity>
</fetch>;
 
 
if new_opportunityflag from json is available in the fetchXML attribute then update the attribute new_opportunityflag with the same value that received from fetchxml. 
I have the same question (0)
  • CU18060610-0 Profile Picture
    on at
    To tackle the requirement of writing C# code effectively, one must first understand the problem thoroughly, breaking it down into manageable tasks. Utilize object-oriented principles, design patterns, and best practices to ensure maintainability and scalability. Additionally, thorough testing and documentation are essential for clarity and robustness. Remember, just like maintaining an AC repair in Austin diligence and attention to detail are key to success in coding.

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
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 161 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans