Cannot write/upload contnet to server script


#1

after creating server script its not saving content to script
and when i look at the console I am getting "Cannot set property ‘content’ of null"
any idea if this is known issue ?


#2

ok resloved it
while creating service make sure you don’t save it before adding some config in config tab
just add some dummy code you can edit it later. if you create script service without adding any config you will get " Cannot set property ‘content’ of null " and you wont be able to edit it later.

I think Dreamfactory should add this to wiki or update UI.

hope this help.


#3

Thanks so much for sharing your solution and for your feedback!

Thanks,
@AlexBowen


#4

Hey @AlexBowen I’ve got an update for you.

That is a bug that is in process of being resolved. We agree that you shouldn’t have to do that convoluted process.

I believe the new workflow will be that it will either not let you save it (therefore preventing the “can’t edit it later” issue) or you should be able to save a blank script and come back and edit later.

Thank you!
@AlexBowen