Tuesday, December 12, 2017
Here is some sample SharePoint JSOM code to query a library for items with a specific content id and assigned to a specific user. This code also recurses folders, returns extra fields and orders the results.
Note: The getCurrentUser function would have to be another JSOM asynchronous call and wouldn't work exactly the way I have it here. It would have to execute first, then call queryItems from it's success callback.
Friday, December 8, 2017