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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

InstantiateTemplate serviceappointment template is empty

(0) ShareShare
ReportReport
Posted on by 45

Hi! 

I try to get a filled out template to send an apppointment confirmation. I set the templateid to the id of the service appointment template, the objectype to serviceappointment and the objectid to the serviceappointment, for which the confirmation should be send/filled out.

But the return of InstantiateTemplate is an empty value (value: []

The id of the service appointment is correct and the id of the service appointment template is also correct.

Could anyone be so kind to give me a hint?

Thank you!

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    InstantiateTemplate  request works only with Email Template. Please see below docs page.

    docs.microsoft.com/.../instantiatetemplate

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • buzzi Profile Picture
    45 on at

    You are right. But my description was wrong. I set the id of the email template, which is categorized as service appointment email template and i set the objectid to the id of the service appointment, from which the date should be taken, to fill out the template and the object type to service appointment.

    So for me this seems to be right, isnt it?

    Thank you for your answer!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 93

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans