{"id":23100,"date":"2020-03-16T12:13:26","date_gmt":"2020-03-16T12:13:26","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=23100"},"modified":"2020-03-16T12:13:26","modified_gmt":"2020-03-16T12:13:26","slug":"programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/","title":{"rendered":"Programmatically register Post or Pre Image for plugin step with required attribute parameters"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p>There is a client requirement to register a plugin dynamically on update of owner field.<\/p>\n<p>In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step.<\/p>\n<p>If you want to programmatically validate Pre\/Post plugin step then please refer <a href=\"https:\/\/www.inogic.com\/blog\/2020\/02\/programmatically-validate-pre-post-plugin-step\/\" target=\"_blank\" rel=\"noopener noreferrer\">this<\/a>.<\/p>\n<p><strong>Below is code for to register pre or post image with required filter attributes &#8211;<\/strong><\/p>\n<pre class=\"lang:default decode:true \">var image = new Entity(\"sdkmessageprocessingstepimage\");\r\n\r\nif (stage == 0)\r\n\r\n{\r\n\r\nimage.SetAttributeValue(\"imagetype\", new OptionSetValue(Convert.ToInt32(SdkPlugins.ImageType.PreImage)));\/\/Pre-image stands for 0\r\n\r\nimage.SetAttributeValue(\"name\", \"AssignPreImage\");\r\n\r\nimage.SetAttributeValue(\"entityalias\", \"AssignPreImage\");\r\n\r\n}\r\n\r\nelse\r\n\r\n{\r\n\r\nimage.SetAttributeValue(\"imagetype\", new OptionSetValue(Convert.ToInt32(SdkPlugins.ImageType.PostImage)));\/\/Post-image stands for 1\r\n\r\nimage.SetAttributeValue(\"name\", \"AssignPostImage\");\r\n\r\nimage.SetAttributeValue(\"entityalias\", \"AssignPostImage\");\r\n\r\n}\r\n\r\n<strong>\/\/Here you can add attributes which you want to get from image<\/strong>\r\n\r\nimage.SetAttributeValue(\"<strong>attributes<\/strong>\",<strong> \"ownerid\"<\/strong>);\r\n\r\nimage.SetAttributeValue(\"sdkmessageprocessingstepid\", new EntityReference(\"sdkmessageprocessingstep\", stepId));\r\n\r\nimage.SetAttributeValue(\"messagepropertyname\", \"Target\");\r\n\r\nserviceContext.Create(image);<\/pre>\n<h2>Conclusion<\/h2>\n<p>Thus you have seen how to fetch only required attribute parameters while registering Post or Pre image for plugin step using this code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/\">Read More: Programmatically register Post or Pre Image for plugin step with\u2026 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":23102,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,42],"tags":[545],"class_list":["post-23100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365-v9-2","category-plugin","tag-dynamics-365-crm"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tushar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-03-16T12:13:26+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-16T12:13:26+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Tushar\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#blogposting\",\"name\":\"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"Programmatically register Post or Pre Image for plugin step with required attribute parameters\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Post-or-Pre-Image.png\",\"width\":150,\"height\":150,\"caption\":\"Post or Pre Image\"},\"datePublished\":\"2020-03-16T12:13:26+05:30\",\"dateModified\":\"2020-03-16T12:13:26+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#webpage\"},\"articleSection\":\"Dynamics 365 v9, Plugin, Dynamics 365 CRM\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"name\":\"Dynamics 365 v9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"position\":2,\"name\":\"Dynamics 365 v9\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#listItem\",\"name\":\"Programmatically register Post or Pre Image for plugin step with required attribute parameters\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#listItem\",\"position\":3,\"name\":\"Programmatically register Post or Pre Image for plugin step with required attribute parameters\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"name\":\"Dynamics 365 v9\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Tushar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tushar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/\",\"name\":\"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\\\/Post plugin step then please refer this. Below is code for\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Post-or-Pre-Image.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#mainImage\",\"width\":150,\"height\":150,\"caption\":\"Post or Pre Image\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/03\\\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\\\/#mainImage\"},\"datePublished\":\"2020-03-16T12:13:26+05:30\",\"dateModified\":\"2020-03-16T12:13:26+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for","canonical_url":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#blogposting","name":"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"Programmatically register Post or Pre Image for plugin step with required attribute parameters","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/03\/Post-or-Pre-Image.png","width":150,"height":150,"caption":"Post or Pre Image"},"datePublished":"2020-03-16T12:13:26+05:30","dateModified":"2020-03-16T12:13:26+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#webpage"},"articleSection":"Dynamics 365 v9, Plugin, Dynamics 365 CRM"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","name":"Dynamics 365 v9"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","position":2,"name":"Dynamics 365 v9","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#listItem","name":"Programmatically register Post or Pre Image for plugin step with required attribute parameters"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#listItem","position":3,"name":"Programmatically register Post or Pre Image for plugin step with required attribute parameters","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","name":"Dynamics 365 v9"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Tushar","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tushar"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/","name":"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/03\/Post-or-Pre-Image.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#mainImage","width":150,"height":150,"caption":"Post or Pre Image"},"primaryImageOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/#mainImage"},"datePublished":"2020-03-16T12:13:26+05:30","dateModified":"2020-03-16T12:13:26+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for","og:url":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/","article:published_time":"2020-03-16T12:13:26+00:00","article:modified_time":"2020-03-16T12:13:26+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"Programmatically register Post or Pre Image for plugin step with required attribute parameters - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Introduction There is a client requirement to register a plugin dynamically on update of owner field. In this blog we will explain how to get only required attribute parameters while registering Post or Pre image for plugin step. If you want to programmatically validate Pre\/Post plugin step then please refer this. Below is code for","twitter:creator":"@inogic","twitter:label1":"Written by","twitter:data1":"Tushar","twitter:label2":"Est. reading time","twitter:data2":"1 minute"},"aioseo_meta_data":{"post_id":"23100","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 06:32:32","updated":"2025-07-04 07:30:01","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/\" title=\"Dynamics 365 v9\">Dynamics 365 v9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tProgrammatically register Post or Pre Image for plugin step with required attribute parameters\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics 365 v9","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/"},{"label":"Programmatically register Post or Pre Image for plugin step with required attribute parameters","link":"https:\/\/www.inogic.com\/blog\/2020\/03\/programmatically-register-post-or-pre-image-for-plugin-step-with-required-attribute-parameters\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/23100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=23100"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/23100\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/23102"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=23100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=23100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=23100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}