Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 10 online users. » 0 Member(s) | 9 Guest(s) Bing
|
Latest Threads |
CDB will not load in Live...
Forum: General
Last Post: stamatis
04-16-2025, 03:11 PM
» Replies: 0
» Views: 34
|
using cdb_auth with Live...
Forum: General
Last Post: JereMiami
12-19-2024, 01:58 AM
» Replies: 0
» Views: 496
|
BLOBs - not possible to a...
Forum: General
Last Post: stamatis
10-06-2024, 06:28 PM
» Replies: 0
» Views: 474
|
Allow users to change the...
Forum: General
Last Post: mark_talluto
01-18-2024, 01:09 AM
» Replies: 8
» Views: 13,026
|
cdb_sendEmail
Forum: General
Last Post: mark_talluto
11-07-2023, 09:57 PM
» Replies: 0
» Views: 871
|
cdb_sync & cdb_lookupvalu...
Forum: General
Last Post: mark_talluto
11-07-2023, 09:45 PM
» Replies: 1
» Views: 1,564
|
cdb cdb_sendEmail
Forum: Bug Reports
Last Post: JereMiami
10-05-2023, 01:57 PM
» Replies: 0
» Views: 2,015
|
LCM: "Please inform Canel...
Forum: General
Last Post: mark_talluto
07-12-2023, 07:58 PM
» Replies: 24
» Views: 28,104
|
San Franciso Region Outag...
Forum: Announcements
Last Post: mark_talluto
05-09-2023, 03:31 AM
» Replies: 1
» Views: 3,359
|
Error, CDB_Header checksu...
Forum: General
Last Post: cpuandnet
02-01-2023, 05:00 AM
» Replies: 4
» Views: 4,743
|
|
|
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?
|
|
|
cdb_setCloudTolerance defaults |
Posted by: simon.schvartzman - 08-31-2019, 01:37 PM - Forum: General
- Replies (2)
|
 |
Hi, does anyone know the defaults for:
pTimeoutInterval, pCheckInternetInterval
in the command:
cdb_setCloudTolerance pTimeoutInterval, pCheckInternetInterval command?
In other words, if I do not issue the command how long the intervals are going to be?
Thanks...
|
|
|
|