today I needed to query a document library using the REST api. I found that simply calling _api/web/list/getbytitle(‘foo’)/items would not return me either the filename or full path. The secret is to call FieldValuesAsText – here FileRef (the server relative Read More
Tag: SharePoint
Set SharePoint user display-language using PowerShell
I never remember correctly how to set a SharePoint users display languages using PowerShell. Searching always brings up one or the other form of the following code: This seems look good, when looked at from central admin: But for some Read More
Always use SQL-Alias in your SharePoint farm
Not every farm is set up using SQL-Alias. It’s not clear to me why this is so. Always. Do. SQL-Alias. I’ve heard excuses like: “That’s much more work”. Yea. Like 5 clicks for each server. Granted. But that got me Read More
How to test the WordAutomationService
I got asked whether the WordAutomationService in SharePoint could be started tested somehow or started to view ULS-Logs while running the conversion. I creade a script to start converting a document from SharePoint (the document must exist and be in Read More