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["EncodedAbsUrl"] |
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
Want to talk?
Drop us a line. We are here to answer your questions 24*7.