• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Candela sdk missing
#2
(10-11-2019, 10:58 AM)paddy.healy@gmail.com Wrote: Hi all
Just starting with livecloud. I have tried various methods based on the docs and I have also used the crud sample stack but I cannot get livecloud and LiveCode to talk. I just keep getting the candela sdk missing please export again. One thing I have noticed is that the api and data folders are not exported?
This is so frustrating

Hi Paddy.Healy,

Welcome to LiveCloud. The reason for getting the error is that the libraries are not being exported or they are not being placed in the correct place.

If the export is the problem, we may be running into an OS security dialog being missed. On Mac, you may get something like I am posting in this response. Windows 10 did not provide me any dialog to allow the export to take place.

If the export is not the problem, then it may be the placement of the export. When you export using 'Create Project' as your method, you get the following:
1. A folder titled with the project's name
2. An already placed CanelaDB folder, pre-made LiveCode stack with initialization code in place, and font for passwords. You run the 'login.livecode' stack, and everything works.

If you do the export using 'Export Toolkit' as your method, you get the following:
1. 'CanelaDB' folder placed where you want. You should place it in the same folder as your mainstack. Please see the screenshot labeled 'Basic Test Stack' for reference.
2. You are also presented with the 'Initialization Script'. This needs to be copied to your clipboard and pasted into your LiveCode stack. This code loads the libraries for your project.

My next training video will detail both of these processes.

I would start with the 'Create Project' method for all new development. Use the 'Export Toolkit' method only to update your project with the latest libraries.

The 'Create Project' method also comes with the login code needed to do cloud work. It handles all of your authentication calls. You just need to tell the pre-made code what to do when auth is successful. Example: go next card. The code will bring up an answer dialog telling you which line of the code you should visit to add your 'go next card' script. This will be covered in the next video, as well.

Please write back if you get stuck. Feel free to send us your project if you need someone here to look at it.

-Mark Talluto


Attached Files Thumbnail(s)
       
  Reply


Messages In This Thread
Candela sdk missing - by paddy.healy@gmail.com - 10-11-2019, 10:58 AM
RE: Candela sdk missing - by mark_talluto - 10-11-2019, 03:54 PM
RE: Candela sdk missing - by mark_talluto - 10-14-2019, 05:30 PM
RE: Candela sdk missing - by mark_talluto - 10-14-2019, 10:04 PM
RE: Candela sdk missing - by MWCM - 08-09-2020, 05:29 PM
RE: Candela sdk missing - by mark_talluto - 08-10-2020, 11:20 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)