Hi Lars,
Yes it makes sens
Here is an a example solution for you:
1 Create generic service http://prntscr.com/434glf/direct.
2 Click "Add custom implementation"
3 Choose "new javascript" with name "genericService1JS". http://prntscr.com/434h6f/direct
4 Use following code in "JS" implementation:
pre
//Note replace "genericService1JS" with your value.
Appery.genericService1JS = Appery.createClass(null, {
Code: Select all
init : function(requestOptions) {
this.__requestOptions = $.extend({}, requestOptions);
},
process : function(settings) {
//Note: you need replace "yourLSV" with LSV that's stores your array.
var responseData = JSON.parse(localStorage.getItem("yourLSV"));
console.log("responseData");
//Take a look on browser console to see what is stored in your LSV.
console.log(responseData);
settings.success(responseData );
settings.complete('success');
}
});
/pre
After these steps you can use this service in mapping to populate your list.
Regards.