Hi,
I have an apiWrapper implemented inside the getStore of a grid.
getStore: function(sortState, rootId, gridProperties) {
var apiWrapper = function(params, requestData) {
vui.vcm.folder.content(rootId, requestData);
};
return vui.vcm.ui.grid.getAPIStore(vui.vcm.type.FOLDER, apiWrapper, sortState, rootId, gridProperties);
}
This is working when I pass the id of a folder. Instead of simply querying for content within a folder, I would like to execute a query that locates only content instances that have an attribute that matches the id of the passed rootId. This is implemented in a properties tab, so there is no action that is getting executed, so I believe I need to find the API method to do it within JavaScript.
Any ideas?
Thanks,
Eric