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,...
Suggested Answer

Plug-in code for creating new record in "appointment" entity in d365 crm

(0) ShareShare
ReportReport
Posted on by 15

I have write to simple plugin code for creating new record in  appointment entity(System entity) in d365 CRM , when i load plugin and registering a step in "preoperation" method then it will directly automated -- created new record in appointment entity .Please anyone help?

  • Suggested answer
    Bipin D365 Profile Picture
    28,995 Moderator on at

    Hi,

    Please share your code.

    You can look at below sample plugin code which is creating Task

    github.com/.../FollowupPlugin

    You can update this to create appointment

  • vivek roshan Profile Picture
    15 on at

    I saw this code , This code is : This task record will be created only if the account record will be created, This means this depend on Account entity(your given code said that task create only after triggred  after account record created)...... I have to only create record in entity "Appointment entity" and it has to be independent .

    Just like suppose : we create a simple record in Account or contact or any entity  .Like preOperation pipeline execution method -- put plugin code and after refresh ,it will direct automatically created a single record in any entity.

  • Suggested answer
    Bipin D365 Profile Picture
    28,995 Moderator on at

    Hi,

    Why don't you use Workflow for that?

    Simple workflow without any code should achieve your requirement.

    Anyway have you written any code in pre-operation plugin, please share the code so that I can look and give feedback?

  • Suggested answer
    CRMJetty Profile Picture
    3,514 on at

    Hello Vivek roshan,

    For creating new record in  appointment entity(System entity) in d365 CRM

    Please refer this link to create appointment programmatically by c#.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 77 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 59

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 41 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans