{"id":1587,"date":"2013-08-16T07:24:27","date_gmt":"2013-08-16T07:24:27","guid":{"rendered":"https:\/\/poiseddevelopers.com\/reality-tech\/?p=1587"},"modified":"2024-04-26T12:46:50","modified_gmt":"2024-04-26T12:46:50","slug":"getting-the-absolute-url-for-a-sharepoint-spitem","status":"publish","type":"post","link":"https:\/\/poiseddevelopers.com\/reality-tech\/getting-the-absolute-url-for-a-sharepoint-spitem\/","title":{"rendered":"Getting the absolute URL for a SharePoint SPItem"},"content":{"rendered":"<h2>Getting the fully encoded absolute URL<\/h2>\n<p>Most properties for an SPFile and SPItem only give part of the URL. To get the full URL, use this reference:<\/p>\n<pre lang=\"php\">\r\nSPItem[\"EncodedAbsUrl\"]\r\n<\/pre>\n<p>It\u2019s not so obvious to find this property, as it will not be listed in the fields returned in the SPField collection for the SPList<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting the fully encoded absolute URL Most properties for an SPFile and SPItem only give part of the URL. To get the full URL, use this reference: SPItem[&#8220;EncodedAbsUrl&#8221;] It\u2019s not so obvious to find this property, as it will not be listed in the fields returned in the SPField collection for the SPList<\/p>\n","protected":false},"author":6,"featured_media":1590,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[26],"tags":[],"class_list":["post-1587","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell"],"acf":[],"_links":{"self":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/1587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/comments?post=1587"}],"version-history":[{"count":5,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/1587\/revisions"}],"predecessor-version":[{"id":1598,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/1587\/revisions\/1598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media\/1590"}],"wp:attachment":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media?parent=1587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/categories?post=1587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/tags?post=1587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}