{"id":74,"date":"2021-10-04T21:42:33","date_gmt":"2021-10-04T13:42:33","guid":{"rendered":"https:\/\/just-a-web.com\/blog\/?p=74"},"modified":"2021-10-05T12:40:56","modified_gmt":"2021-10-05T04:40:56","slug":"setwordtemplate-issue","status":"publish","type":"post","link":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/","title":{"rendered":"SetWordTemplate Issue"},"content":{"rendered":"\n<p>Today, we have issue in our cloud environments whereby not able to use SetWordTemplate request in Action.<\/p>\n\n\n\n<p>No one touch the codes for few months, below is the exception &#8211; CrmNotSupportedException:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"691\" height=\"160\" src=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png\" alt=\"\" class=\"wp-image-75\" srcset=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png 691w, https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image-300x69.png 300w\" sizes=\"(max-width: 691px) 100vw, 691px\" \/><\/figure>\n\n\n\n<p>As SetWordTemplate is not documented in SDK, it is suggested to create a workflow\/action and use the SetWordTemplate instead of direct trigger using OrganizationRequest.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"310\" height=\"46\" src=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image-2.png\" alt=\"\" class=\"wp-image-77\" srcset=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image-2.png 310w, https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image-2-300x45.png 300w\" sizes=\"(max-width: 310px) 100vw, 310px\" \/><\/figure>\n\n\n\n<p>To solve this issue, we create an action and use the OOB functionality SetWordTemplate like above as workaround.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we have issue in our cloud environments whereby not able to use SetWordTemplate request in Action. No one touch the codes for few months, below is the exception &#8211; CrmNotSupportedException: As SetWordTemplate is not documented in SDK, it is suggested to create a workflow\/action and use the SetWordTemplate instead of direct trigger using OrganizationRequest.&hellip;&nbsp;<a href=\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">SetWordTemplate Issue<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[14,1],"tags":[38,40,39],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-c","category-dynamics","tag-action","tag-crmnotsupportedexception","tag-setwordtemplate"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SetWordTemplate Issue - Dynamics Blog<\/title>\n<meta name=\"description\" content=\"SetWordTemplate by OrganizationRequest is not working with exception CrmNotSupportedException.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SetWordTemplate Issue - Dynamics Blog\" \/>\n<meta property=\"og:description\" content=\"SetWordTemplate by OrganizationRequest is not working with exception CrmNotSupportedException.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\" \/>\n<meta property=\"og:site_name\" content=\"Dynamics Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-04T13:42:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-05T04:40:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png\" \/>\n<meta name=\"author\" content=\"hk.ang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hk.ang\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\"},\"author\":{\"name\":\"hk.ang\",\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\"},\"headline\":\"SetWordTemplate Issue\",\"datePublished\":\"2021-10-04T13:42:33+00:00\",\"dateModified\":\"2021-10-05T04:40:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\"},\"wordCount\":76,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\"},\"image\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png\",\"keywords\":[\"action\",\"crmnotsupportedexception\",\"setwordtemplate\"],\"articleSection\":[\"C#\",\"Dynamics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\",\"url\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\",\"name\":\"SetWordTemplate Issue - Dynamics Blog\",\"isPartOf\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png\",\"datePublished\":\"2021-10-04T13:42:33+00:00\",\"dateModified\":\"2021-10-05T04:40:56+00:00\",\"description\":\"SetWordTemplate by OrganizationRequest is not working with exception CrmNotSupportedException.\",\"breadcrumb\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage\",\"url\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png\",\"contentUrl\":\"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png\",\"width\":691,\"height\":160},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/just-a-web.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SetWordTemplate Issue\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/just-a-web.com\/blog\/#website\",\"url\":\"https:\/\/just-a-web.com\/blog\/\",\"name\":\"Dynamics Blog\",\"description\":\"A blog that related to coding stuff\",\"publisher\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/just-a-web.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af\",\"name\":\"hk.ang\",\"logo\":{\"@id\":\"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/just-a-web.com\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SetWordTemplate Issue - Dynamics Blog","description":"SetWordTemplate by OrganizationRequest is not working with exception CrmNotSupportedException.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/","og_locale":"en_US","og_type":"article","og_title":"SetWordTemplate Issue - Dynamics Blog","og_description":"SetWordTemplate by OrganizationRequest is not working with exception CrmNotSupportedException.","og_url":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/","og_site_name":"Dynamics Blog","article_published_time":"2021-10-04T13:42:33+00:00","article_modified_time":"2021-10-05T04:40:56+00:00","og_image":[{"url":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png","type":"","width":"","height":""}],"author":"hk.ang","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hk.ang","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#article","isPartOf":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/"},"author":{"name":"hk.ang","@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af"},"headline":"SetWordTemplate Issue","datePublished":"2021-10-04T13:42:33+00:00","dateModified":"2021-10-05T04:40:56+00:00","mainEntityOfPage":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/"},"wordCount":76,"commentCount":0,"publisher":{"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af"},"image":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage"},"thumbnailUrl":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png","keywords":["action","crmnotsupportedexception","setwordtemplate"],"articleSection":["C#","Dynamics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/","url":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/","name":"SetWordTemplate Issue - Dynamics Blog","isPartOf":{"@id":"https:\/\/just-a-web.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage"},"image":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage"},"thumbnailUrl":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png","datePublished":"2021-10-04T13:42:33+00:00","dateModified":"2021-10-05T04:40:56+00:00","description":"SetWordTemplate by OrganizationRequest is not working with exception CrmNotSupportedException.","breadcrumb":{"@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#primaryimage","url":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png","contentUrl":"https:\/\/just-a-web.com\/blog\/wp-content\/uploads\/2021\/10\/image.png","width":691,"height":160},{"@type":"BreadcrumbList","@id":"https:\/\/just-a-web.com\/blog\/2021\/10\/04\/setwordtemplate-issue\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/just-a-web.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SetWordTemplate Issue"}]},{"@type":"WebSite","@id":"https:\/\/just-a-web.com\/blog\/#website","url":"https:\/\/just-a-web.com\/blog\/","name":"Dynamics Blog","description":"A blog that related to coding stuff","publisher":{"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/just-a-web.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/7c5fde715b55adf97070f3506709b0af","name":"hk.ang","logo":{"@id":"https:\/\/just-a-web.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/just-a-web.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":2,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/posts\/74\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/just-a-web.com\/blog\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}