Settings service not saving

Posted by johncat on 28-Apr-2014 05:26

I have created a Settings (REST settings) service to hold some global settings for my app (as described here: <http://docs.appery.io/documentation/using-settings-service/>).  However, the parameters I define in the service don't seem to be getting saved.  If I log out and back in again, or just refresh the page (F5), I'm left with an empty service with no parameters.  Has anybody else experienced this?  Has anybody else used a settings service successfully?  Is there an option somewhere I should have turned on to enable it?

Thanks

All Replies

Posted by Phillip Molly Malone on 09-May-2014 07:46

Hey mate,

Shouldn't be any issues with it. Is it still happening or did it come good? If it is still an issue, we can work through it with you.

Please let me know.

Molly

Posted by johncat on 09-May-2014 08:13

Hi Molly,

Thanks for the reply.  The same thing is still happening.  If I 'Copy Source Local' in PDSOE, I can open the service.js file and see the service is defined but has no properties:

 var GlobalSettings = {};

Presumably, this is the reason any parameters I add disappear when I refresh the MAB.

Cheers,

John

This thread is closed