Announcements
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!
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!
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/
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156