{"id":857,"date":"2014-08-25T09:49:11","date_gmt":"2014-08-25T04:19:11","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=857"},"modified":"2014-08-25T09:49:11","modified_gmt":"2014-08-25T04:19:11","slug":"update-fetch-query-of-systemuser-view-dynamically","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/","title":{"rendered":"Update fetch query of System\/User view dynamically"},"content":{"rendered":"<p style=\"text-align: justify;\">Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through <strong>Advanced Find<\/strong> so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample code how to update the fetch query of system\/user view dynamically using link type as <strong>Outer Join<\/strong>. Below is the query which describes that show only those active contacts with no opportunity exist in contact and those opportunities which was not closed in last 9 months using Outer Join. Below query won\u2019t be possible through advanced find.<\/p>\n<p>string fetchXml = @&#8221;&lt;fetch version=&#8217;1.0&#8242; output-format=&#8217;xml-platform&#8217; mapping=&#8217;logical&#8217; distinct=&#8217;true&#8217; &gt;<\/p>\n<p>&lt;entity name=&#8217;contact&#8217; &gt;<\/p>\n<p>&lt;attribute name=&#8217;fullname&#8217; \/&gt;<\/p>\n<p>&lt;attribute name=&#8217;parentcustomerid&#8217; \/&gt;<\/p>\n<p>&lt;attribute name=&#8217;emailaddress1&#8242; \/&gt;<\/p>\n<p>&lt;attribute name=&#8217;telephone3&#8242; \/&gt;<\/p>\n<p>&lt;attribute name=&#8217;address1_city&#8217; \/&gt;<\/p>\n<p>&lt;link-entity name=&#8217;opportunity&#8217; from=&#8217;customerid&#8217; to=&#8217;contactid&#8217; alias=&#8217;ab&#8217; link-type=&#8217;outer&#8217; &gt;<\/p>\n<p>&lt;filter type=&#8217;or&#8217; &gt;<\/p>\n<p>&lt;condition attribute=&#8217;actualclosedate&#8217; operator=&#8217;last-x-months&#8217; value=&#8217;9&#8242; \/&gt;<\/p>\n<p>&lt;\/filter&gt;<\/p>\n<p>&lt;\/link-entity&gt;<\/p>\n<p>&lt;filter type=&#8217;and&#8217; &gt;<\/p>\n<p>&lt;condition attribute=&#8217;statecode&#8217; operator=&#8217;eq&#8217; value=&#8217;0&#8242; \/&gt;<\/p>\n<p>&lt;condition entityname=&#8217;ab&#8217; attribute=&#8217;opportunityid&#8217; operator=&#8217;null&#8217; \/&gt;<\/p>\n<p>&lt;\/filter&gt;<\/p>\n<p>&lt;\/entity&gt;<\/p>\n<p>&lt;\/fetch&gt;&#8221;;<\/p>\n<p>Entity view = newEntity(&#8220;savedquery&#8221;); OR Entity view = newEntity(&#8220;userquery&#8221;);<\/p>\n<p>view[&#8220;fetchxml&#8221;] = fetchXml;<\/p>\n<p>view.Id = newGuid(&#8220;8DF19B44-A073-40C3-9D6D-EE1355D8C4BA&#8221;);<\/p>\n<p>service.Update(view);<\/p>\n<p>You can get the GUID of view from the URL of view. Refer the below screenshot:<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-858\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg\" alt=\"1\" width=\"687\" height=\"224\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>Note: <\/strong>The attributes you define in a fetch query to show in the view should match with the columns that have been added in the view manually. Refer the below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-859\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/2.jpg\" alt=\"2\" width=\"625\" height=\"174\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/\">Read More: Update fetch query of System\/User view dynamically &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,22,24],"tags":[740,795,1391,1789],"class_list":["post-857","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm-2013","category-dynamics-crm-2015","category-dynamics-crm-2016","tag-entity","tag-fetchxml","tag-query","tag-view"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample\" \/>\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\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/\" \/>\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=\"Update fetch query of System\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-08-25T04:19:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-08-25T04:19:11+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=\"Update fetch query of System\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg\" \/>\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=\"2 minutes\" \/>\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\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#blogposting\",\"name\":\"Update fetch query of System\\\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"Update fetch query of System\\\/User view dynamically\",\"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\\\/2014\\\/08\\\/1.jpg\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#articleImage\"},\"datePublished\":\"2014-08-25T09:49:11+05:30\",\"dateModified\":\"2014-08-25T09:49:11+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#webpage\"},\"articleSection\":\"Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016, Entity, FetchXML, Query, View\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#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-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"position\":2,\"name\":\"Dynamics CRM\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2013\\\/#listItem\",\"name\":\"Dynamics CRM 2013\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2013\\\/#listItem\",\"position\":3,\"name\":\"Dynamics CRM 2013\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2013\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#listItem\",\"name\":\"Update fetch query of System\\\/User view dynamically\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#listItem\",\"position\":4,\"name\":\"Update fetch query of System\\\/User view dynamically\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2013\\\/#listItem\",\"name\":\"Dynamics CRM 2013\"}}]},{\"@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\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#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\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#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\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/\",\"name\":\"Update fetch query of System\\\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Based on the client requirement sometimes it is needed to update the system\\\/user view to filter record as per needed. In your query you need to apply outer join which won\\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\\\/User view dynamically. Below is the sample\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2014\\\/08\\\/update-fetch-query-of-systemuser-view-dynamically\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2014-08-25T09:49:11+05:30\",\"dateModified\":\"2014-08-25T09:49:11+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":"Update fetch query of System\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample","canonical_url":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#blogposting","name":"Update fetch query of System\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"Update fetch query of System\/User view dynamically","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\/2014\/08\/1.jpg","@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#articleImage"},"datePublished":"2014-08-25T09:49:11+05:30","dateModified":"2014-08-25T09:49:11+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#webpage"},"articleSection":"Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016, Entity, FetchXML, Query, View"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#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-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","position":2,"name":"Dynamics CRM","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2013\/#listItem","name":"Dynamics CRM 2013"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2013\/#listItem","position":3,"name":"Dynamics CRM 2013","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2013\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#listItem","name":"Update fetch query of System\/User view dynamically"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#listItem","position":4,"name":"Update fetch query of System\/User view dynamically","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2013\/#listItem","name":"Dynamics CRM 2013"}}]},{"@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\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#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\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#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\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/","name":"Update fetch query of System\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2014-08-25T09:49:11+05:30","dateModified":"2014-08-25T09:49:11+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":"Update fetch query of System\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample","og:url":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg","article:published_time":"2014-08-25T04:19:11+00:00","article:modified_time":"2014-08-25T04:19:11+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"Update fetch query of System\/User view dynamically - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Based on the client requirement sometimes it is needed to update the system\/user view to filter record as per needed. In your query you need to apply outer join which won\u2019t be possible through Advanced Find so in that case you need to update the fetch query of System\/User view dynamically. Below is the sample","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/08\/1.jpg","twitter:label1":"Written by","twitter:data1":"Tushar","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"857","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":"","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:08:56","updated":"2025-07-03 23:01:03","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-crm\/\" title=\"Dynamics CRM\">Dynamics CRM<\/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-crm\/dynamics-crm-2013\/\" title=\"Dynamics CRM 2013\">Dynamics CRM 2013<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUpdate fetch query of System\/User view dynamically\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics CRM","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/"},{"label":"Dynamics CRM 2013","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2013\/"},{"label":"Update fetch query of System\/User view dynamically","link":"https:\/\/www.inogic.com\/blog\/2014\/08\/update-fetch-query-of-systemuser-view-dynamically\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/857","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=857"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/857\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}