{"id":3690,"date":"2016-10-12T18:21:56","date_gmt":"2016-10-12T12:51:56","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=3690"},"modified":"2016-10-12T18:21:56","modified_gmt":"2016-10-12T12:51:56","slug":"retrieve-absolute-and-site-collection-url-request-in-dynamics-crm","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/","title":{"rendered":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM"},"content":{"rendered":"<p>In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive.<\/p>\n<p>So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage.<\/p>\n<p>We receive many such requests where client wants to move the files from emails or notes attachments to SharePoint.<\/p>\n<p>So while integrating i.e. moving file from CRM to SharePoint, we require SharePoint URL.<\/p>\n<p>For getting the SharePoint URL, we generally retrieve the default site and using this default site we need to generate the absolute URL.<\/p>\n<p>Instead of doing this i.e. retrieving default site, CRM has a request \u201c<strong>RetrieveAbsoluteAndSiteCollectionUrlRequest<\/strong>\u201d using which we can get the absolute URL.<\/p>\n<p>This request requires the document location id of a specific entity record. So before executing this request, we need to retrieve the Document Location record which is then passed to \u201c<strong>RetrieveAbsoluteAndSiteCollectionUrlRequest<\/strong>\u201d request to get the absolute URL.<\/p>\n<p>As you know, Document location only stores the relative URL. See below screenshot.<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/10\/Retrieve-absolute.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-3691\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/10\/Retrieve-absolute.png\" alt=\"Retrieve absolute\" width=\"623\" height=\"264\" \/><\/a><\/p>\n<p>Here we take an example of account entity.<\/p>\n<p>Below is the code to retrieve the Document location record against the account.<\/p>\n<pre class=\"lang:default decode:true \">private EntityCollection RetrieveLocation(IOrganizationService service, Guid accountId)\n        {\n            EntityCollection locationColl = null;\n            string fetchXML = string.Empty;\n            try\n            {\n                \/\/contruct the fetch query\n                fetchXML = \"&lt;fetch version='1.0' output-format='xml-platform' mapping='logical' no-lock='true' distinct='false'&gt;\" +\n                                      \"&lt;entity name='sharepointdocumentlocation'&gt;\" +\n                                       \" &lt;attribute name='sharepointdocumentlocationid' \/&gt;\" +\n                                        \"&lt;attribute name='relativeurl' \/&gt;\" +\n                                        \"&lt;filter type='and'&gt;\" +\n                                         \" &lt;condition attribute='regardingobjectid' operator='eq' value=' \" + accountId + \" ' \/&gt;\" +\n                                        \"&lt;\/filter&gt;\" +\n                                      \"&lt;\/entity&gt;\" +\n                                    \"&lt;\/fetch&gt;\";\n\n                \/\/retrieve the location records\n                locationColl = service.RetrieveMultiple(new FetchExpression(fetchXML));\n            }\n            catch (FaultException ex)\n            {\n                throw new FaultException(functionName + \" Error \" + ex.Message);\n            }\n            catch (Exception ex)\n            {\n                throw new Exception(functionName + \" Error \" + ex.Message);\n            }\n            return locatioColl;\n        }<\/pre>\n<p>The above function will return the document location collection and this collection can be passed to request to get the absolute URL.<\/p>\n<pre class=\"lang:default decode:true \">RetrieveAbsoluteAndSiteCollectionUrlRequest retrieveRequest = new RetrieveAbsoluteAndSiteCollectionUrlRequest\n                {\n                    Target = new EntityReference(SharePointDocumentLocation.EntityLogicalName, locatioColl[0].Id)\n                };\n                RetrieveAbsoluteAndSiteCollectionUrlResponse retriveResponse = (RetrieveAbsoluteAndSiteCollectionUrlResponse)proxy.Execute(retrieveRequest);\n\n                Console.WriteLine(\"Absolute URL of document location record is '{0}'.\", retriveResponse.AbsoluteUrl.ToString());\n                Console.WriteLine(\"Site Collection URL of document location record is '{0}'.\", retriveResponse.SiteCollectionUrl.ToString());\n<\/pre>\n<p>In above code, we have passed the retrieved SharePoint document location record id which will return us the Absolute URL and site collection URL.<\/p>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>The request \u201c<strong>RetrieveAbsoluteAndSiteCollectionUrlRequest<\/strong>\u201d was introduced in 2013 and it can be used to get SharePoint absolute URL.<\/p>\n<p>Now do Accounting without leaving your Dynamics CRM &#8211; Try InoLink\u00a0(\u00a0<a href=\"http:\/\/www.inogic.com\/product\/integrations\/inolink-quickbooks-microsoft-dynamics-crm\">Integrating QuickBooks with Dynamics CRM<\/a>)!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/\">Read More: Retrieve Absolute and Site Collection URL Request in Dynamics CRM &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":[15,19,24,42,53],"tags":[1465,1624],"class_list":["post-3690","post","type-post","status-publish","format-standard","hentry","category-development","category-dynamics-crm","category-dynamics-crm-2016","category-plugin","category-sharepoint","tag-retrieve-absolute-dynamics-crm","tag-site-collection-url-request-in-crm"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/\" \/>\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=\"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/10\/Retrieve-absolute.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/10\/Retrieve-absolute.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-10-12T12:51:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-10-12T12:51:56+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=\"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to\" \/>\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\/2016\/10\/Retrieve-absolute.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\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\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#blogposting\",\"name\":\"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"Retrieve Absolute and Site Collection URL Request in Dynamics CRM\",\"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\\\/2016\\\/10\\\/Retrieve-absolute.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#articleImage\"},\"datePublished\":\"2016-10-12T18:21:56+05:30\",\"dateModified\":\"2016-10-12T18:21:56+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#webpage\"},\"articleSection\":\"Development, Dynamics CRM, Dynamics CRM 2016, Plugin, SharePoint, Retrieve absolute Dynamics CRM, site collection URL request in CRM\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#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-2016\\\/#listItem\",\"name\":\"Dynamics CRM 2016\"},\"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-2016\\\/#listItem\",\"position\":3,\"name\":\"Dynamics CRM 2016\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2016\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#listItem\",\"name\":\"Retrieve Absolute and Site Collection URL Request in Dynamics CRM\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/#listItem\",\"name\":\"Dynamics CRM\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#listItem\",\"position\":4,\"name\":\"Retrieve Absolute and Site Collection URL Request in Dynamics CRM\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-crm\\\/dynamics-crm-2016\\\/#listItem\",\"name\":\"Dynamics CRM 2016\"}}]},{\"@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\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#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\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/\",\"name\":\"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2016\\\/10\\\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2016-10-12T18:21:56+05:30\",\"dateModified\":\"2016-10-12T18:21:56+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":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to","canonical_url":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#blogposting","name":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM","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\/2016\/10\/Retrieve-absolute.png","@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#articleImage"},"datePublished":"2016-10-12T18:21:56+05:30","dateModified":"2016-10-12T18:21:56+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#webpage"},"articleSection":"Development, Dynamics CRM, Dynamics CRM 2016, Plugin, SharePoint, Retrieve absolute Dynamics CRM, site collection URL request in CRM"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#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-2016\/#listItem","name":"Dynamics CRM 2016"},"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-2016\/#listItem","position":3,"name":"Dynamics CRM 2016","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2016\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#listItem","name":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/#listItem","name":"Dynamics CRM"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#listItem","position":4,"name":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2016\/#listItem","name":"Dynamics CRM 2016"}}]},{"@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\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#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":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/","name":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2016-10-12T18:21:56+05:30","dateModified":"2016-10-12T18:21:56+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":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to","og:url":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/10\/Retrieve-absolute.png","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/10\/Retrieve-absolute.png","article:published_time":"2016-10-12T12:51:56+00:00","article:modified_time":"2016-10-12T12:51:56+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"In Microsoft Dynamics CRM, many emails and notes along with attachment gets created on daily basis, which results into increase in the CRM database storage which is expensive. So usually, people go with the integration of Dynamics CRM with SharePoint which reduces the CRM database storage. We receive many such requests where client wants to","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/10\/Retrieve-absolute.png","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"3690","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:32:50","updated":"2025-07-04 02:14:21","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-2016\/\" title=\"Dynamics CRM 2016\">Dynamics CRM 2016<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRetrieve Absolute and Site Collection URL Request in Dynamics CRM\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 2016","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-crm\/dynamics-crm-2016\/"},{"label":"Retrieve Absolute and Site Collection URL Request in Dynamics CRM","link":"https:\/\/www.inogic.com\/blog\/2016\/10\/retrieve-absolute-and-site-collection-url-request-in-dynamics-crm\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/3690","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=3690"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/3690\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=3690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=3690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=3690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}