How to dynamically load list web part on REST result or custom query

Hello,

Is it possible to dynamically change the items loaded by a list view web part at runtime via javascript?

Example: I have a page with web part Documents view. During some user action (it can be also a button click for instance) I'd like to bind the Documents view to a different view/query/REST result and reload the web part co

September 8th, 2015 1:44pm

Emiliano,

Rather than customizing the an OOTB List View WebPart or Page WebPart ,

I would suggest you to create a Content Query WebPart to get the items from the desired list/data source.

Alternatively - you could write a SharePoint App(or Client site JavaScript ) to retrieve and show the items.

Hope this helps.

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 2:52pm

I'd like to use OOB list web part, because you have some nice OOB feature (like item menu, filters and so on). Moreover I don't want work at server side, not deploying anything to the server, not developing anything from visual studio / c#.

Does CQWP allow you to load content using javascript?

Thank you

September 10th, 2015 2:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics