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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 202 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 70

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans