RestAPI to get Properties of SharePoint image

You can get properties of an image from SharePoint library with RestAPI

The request looks like this:

https://markimarta.com/sites/Euro2024/bestboat/_api/Web/GetFileByServerRelativeUrl('/sites/Euro2024/bestboat/VoteLib/Team2/Regal.jpg')/Properties

The result is XML from which you should extract the values you want to use.

Get duplicate SQL entities and remove duplicates

We have a table with columns Id (GUID), Title (nvarchar(50)), PubDate (DateTime). After several tests there were inserted a lot of records and many of them have been inserted more than 1 time. The task is to 'seek and destroy' all the duplicate elements and to leave only unique rows.

(more...)

MarkiMarta.com. Notes of web-specialist
Since 2009
18+