Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 396
» Latest member: dorothygordon
» Forum threads: 242
» Forum posts: 1,073

Full Statistics

Online Users
There are currently 26 online users.
» 0 Member(s) | 26 Guest(s)

Latest Threads
User authentication: lost...
Forum: Getting Started
Last Post: stamatis
04-22-2025, 07:03 PM
» Replies: 18
» Views: 39,244
"Manage Emails" - changin...
Forum: Bug Reports
Last Post: stamatis
04-22-2025, 03:56 PM
» Replies: 1
» Views: 490
CDB will not load in Live...
Forum: General
Last Post: stamatis
04-16-2025, 03:11 PM
» Replies: 0
» Views: 257
using cdb_auth with Live...
Forum: General
Last Post: JereMiami
12-19-2024, 01:58 AM
» Replies: 0
» Views: 714
BLOBs - not possible to a...
Forum: General
Last Post: stamatis
10-06-2024, 06:28 PM
» Replies: 0
» Views: 684
Allow users to change the...
Forum: General
Last Post: mark_talluto
01-18-2024, 01:09 AM
» Replies: 8
» Views: 14,139
cdb_sendEmail
Forum: General
Last Post: mark_talluto
11-07-2023, 09:57 PM
» Replies: 0
» Views: 1,038
cdb_sync & cdb_lookupvalu...
Forum: General
Last Post: mark_talluto
11-07-2023, 09:45 PM
» Replies: 1
» Views: 1,866
cdb cdb_sendEmail
Forum: Bug Reports
Last Post: JereMiami
10-05-2023, 01:57 PM
» Replies: 0
» Views: 2,188
LCM: "Please inform Canel...
Forum: General
Last Post: mark_talluto
07-12-2023, 07:58 PM
» Replies: 24
» Views: 31,385

 
  LiveCloud Training Videos
Posted by: mark_talluto - 09-25-2019, 04:14 PM - Forum: Announcements - Replies (1)

We are working on training videos. Our goal is cover all the basics in the first videos and progress to more advanced topics afterwards. We are going to strive to produce a few videos every week. Yesterday was day one. The video was just published on YouTube. The first video is covers downloading LCM and creating an account. How to create a LiveCloud Account

We will update the website as well to have links to the videos. Our working list of videos includes:

Forgot Password
Main screen overview
Code builder
Query builder
First project
Building a standalone
Account Management
Trying the sample projects
cdbUsers Table
Authentication
Arrays

Each video has sub categories. We plan to have an outline on videos that cover sub-topics with timing on the outline. Thus, you can jump to a particular section quickly. There are more topics to cover. We are basing the videos off feedback and comments from all of you. We want to solve as many getting started pain points as soon as possible.

We are pretty excited about meeting your back-end needs and training content is a critical part of this goal. Enjoy and happy coding.


  another internet conectivity question
Posted by: clarencemartin - 09-17-2019, 11:19 AM - Forum: General - Replies (1)

If I do an update -say add or delete a record- (all this is done with the records locally) and I shut the application off before the cached records are updated to the cloud? Are these local records held in limbo until I restart the program? I assume so. If someone else updated the same record before I restart my application, which update takes precedence? The assumption is: the other update was completed and updated to the cloud before I restart the previous computer with the application.


  testing internet connectivity
Posted by: clarencemartin - 09-17-2019, 11:09 AM - Forum: General - Replies (1)

I have run a couple of test with my application and have run a test by running my application and then turning off my wifi connection. When I turn the wifi back on, my application locks up or sometimes even crashes. 
What should I be doing in my scripts to prevent thest failures? By the way, these were executable applications so it's hard to tell where the errors occurred.
What are the best practices to code this connectivity test? I have not tried this with the runtime version of the application.


  tsNet??
Posted by: clarencemartin - 09-17-2019, 05:31 AM - Forum: General - Replies (1)

I am building an application that uses LiveCloud and hence I am assuming tsnet as the network interface.
During a test period with a surface Laptop network connectivity was flaky. I am not sure where the problem was from. I wonder if any testing has been done using outdated Windows computers or under updated. This particular machine was exhibiting incomplete network connectivity. I am requesting the user to do a Windows 10 update to that machine and then re-testing the networking to see problems are corrected. Very interesting. 
I had the application running on 2 machines and saw connectivity problems. One machine was not capable of downloading all of the data with the same quality and connectivity, and reliability.
I will keep you informed.


  Mac Standalone x IDE different behaviour
Posted by: simon.schvartzman - 09-14-2019, 05:11 PM - Forum: Bug Reports - Replies (5)

Hi guys, the following code gives different results running on the IDE versus running standalone

command startLiveCloud
   initializeCanelaDB
   answer "Internet Status:" & cdb_checkInternetStatus()
   get cdb_auth("xxx@xxx.com","xxxx","user")
   answer "Initialization Response: " & cdb_result("response")
   cdb_loadTable ("Users")
   answer "Load Response: " & cdb_result("response")
   answer "Users: " & cdb_count("Users", "cloud")
end startLiveCloud

Internet Status is "true" on both cases
"Initialization Response: " and "Load Response: " are empty on both cases (as they should)
"Users: " returns 16 (which is correct) on the IDE and nothing (empty! not even 0) on the standalone.


Before you ask before building the standalone I have added the full CanelaDB folder to be copied and manually added the 4 needed inclusions. (double checked it many times)

This is driving me crazy!!!!

Any hints?


  How to know if a table is NOT loaded
Posted by: simon.schvartzman - 09-11-2019, 12:42 AM - Forum: General - Replies (8)

Hi team, here i go again...

I understand that if I get an answer from calling cdb_ping("tablename") then "tablename" is properly loaded and I can work with it.

Question is what happens if:

1 - there is no internet connection when I call cdb_ping("tablename").
2 - there is internet connection but for some reason "tablename" has not been loaded.

I've tried the following code 

    [b]put cdb_ping("tablename") into aux
    answer cdb_result("response")       
[/b]

and in both cases the program seems to get stuck on the cdb_ping function and never reaches cdb_result

As a corollary is there any way to find out if a table isn't loaded?

Many thanks


  Confused about how to use "recordData" in Query
Posted by: simon.schvartzman - 09-09-2019, 05:39 PM - Forum: General - Replies (2)

Hi guys, this is probably a very dum question but what can I do...

According to the documentation the Output for a query using "recordData" as the "pResultFormat" parameter is:

(Array) - If pResultFormat is "recordData":

  • Output is an array where each key is a recordID of a record in the specified table that matches the query, with subkeys defined by the schema.
I'm confused as how to retrieve the Array elements as I don't know the recordIDs...

Using the Example of the documentation

recordData Output:
# tOutputA["87654321-abcd-1234-cdef-1234567890ab"]["cdb"] - metadata
#                                                  ["firstName"] - "Jenny"
#                                                  ["lastName"] - "Smith"
#                                                  ["age"] - 46
#                                                  ["income"] - 100000

Where do I get "87654321-abcd-1234-cdef-1234567890ab" from?

Moreover let's say the query returns 4 records, how do I navigate trough each of them?

Can you please provide a complete example? Many thanks


Thanks


  Suggestion: add "Sort" to LCM
Posted by: simon.schvartzman - 09-04-2019, 12:21 AM - Forum: General - Replies (4)

Hi team, I guess my suggestion is kind of self explained. The idea is to have a Sort "Icon" on the LCM,  similar to what is already available with the Search  "Icon"

Hope it makes sense.

Regards


  question about cdb_sync
Posted by: clarencemartin - 09-03-2019, 05:19 PM - Forum: General - Replies (1)

If do several cdb_sync calls and there is no internet connection, will all of these cdb_sync calls just cache and then sync separately when the network is available?


  Suggestion: Add pProjectName parameter to cdb_userTableName function
Posted by: WhenInSpace - 09-03-2019, 01:38 PM - Forum: General - Replies (2)

I notice my apps sometimes have trouble finding the correct cdbUsers table when using the function cdb_userTableName(), due to the fact that I have several projects, each one obviously having its own cdbUsers table. Now the function sometimes returns empty (or just "cdbUsers-" without any table id), so then it doesn't even default to any project.

Maybe the pProjectName parameter could be added to the function, defining the project name, as is the case in several other cdb commands/functions?