Getting the absolute URL for a SharePoint SPItem

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:


It’s not so obvious to find this property, as it will not be listed in the fields returned in the SPField collection for the SPList

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *