Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Filtering results from PS.JS

$
0
0

We are working on a SharePoint App that I believe will be purely SharePoint hosted. We are using the PS.JS library and I am having a hard time finding any significant documentation.

I have read through the examples and cannot find any examples that filter the result using anything using that the getByGuid and getById methods. Is any documented way of doing this using the JavaScript library.

I noticed that the examples use a second parameter in the Load that is an include string used to restrict the fields returned. I am trying to find if there is any similar “filter” command.

  • projContext.load(projects,'Include(Id, Name, IsCheckedOut, StartDate, FinishDate, Owner, EnterpriseProjectType, PercentComplete, IsEnterpriseProject)');

If I call the Web service directly I can do this using the ‘filter’ in the query string.


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>