substack location (filepath)
Posted: Thu Jun 27, 2019 12:18 am
Perhaps my question belongs in the Databases forum but I'll try here first.
I'm working on a project to convert an existing app from a tool for managing data in a MySQL database to a tool for managing data in the new LiveCloud database product. I've asked LiveCloud support for help on the following problem and also posted my question in a LiveCloud forum, but no resolution so far.
My existing app, which I'm running in the IDE on Mac OSX (not as a standalone), has a splash stack with a button that opens a substack that is functionally the main stack for the app. LiveCloud's required CanelaDB toolkit is in the same directory as the main stack and LiveCloud's initialization code is in the stack script of the substack where all the app's functionality resides.
When I click the button on my splash stack to open the substack, I get this message. "The CanelaDB SDK is missing. Please export your Canela SDK again."
LiveCloud's initial response was that it "sounds like a pathing issue," and that my substack needs to be in the same directory as the CanelaDB toolkit. Fair enough, but how do I determine the filepath for my substack? "Put effective filename of this stack" just gives the path to my mainstack. "Put filename of this stack" doesn't yield any information.
As far as LiveCode is concerned where does my substack reside?
Thanks in advance,
Sieg
I'm working on a project to convert an existing app from a tool for managing data in a MySQL database to a tool for managing data in the new LiveCloud database product. I've asked LiveCloud support for help on the following problem and also posted my question in a LiveCloud forum, but no resolution so far.
My existing app, which I'm running in the IDE on Mac OSX (not as a standalone), has a splash stack with a button that opens a substack that is functionally the main stack for the app. LiveCloud's required CanelaDB toolkit is in the same directory as the main stack and LiveCloud's initialization code is in the stack script of the substack where all the app's functionality resides.
When I click the button on my splash stack to open the substack, I get this message. "The CanelaDB SDK is missing. Please export your Canela SDK again."
LiveCloud's initial response was that it "sounds like a pathing issue," and that my substack needs to be in the same directory as the CanelaDB toolkit. Fair enough, but how do I determine the filepath for my substack? "Put effective filename of this stack" just gives the path to my mainstack. "Put filename of this stack" doesn't yield any information.
As far as LiveCode is concerned where does my substack reside?
Thanks in advance,
Sieg