06-11-2019, 01:34 AM
I need to add a new key to an existing table.
1 - I tried to use the Add Key button in the Manager. I am able to add the name of the key but cannot find the way to save this new key so I could enter data into it after. Is there a button or a procedure I can use ?
2 - I tried adding a key with the code I found in you documentation using this code:
command cdb_addKeys pTable, pKeys
on mouseUp pButtonNumber
local tTable, tKeys
put "Subject" into tTable
put "Why" into tKeys
cdb_addKeys tTable,tKeys
end mouseUp
I get the following message in the message Windows:
(2019-06-10 20:50:24.543): Error: Failed API Key Authentication
So I checked for A way to log as Developper or Administrator, but I found code that uses "user" but does not tell me with what to replace "user" whit to identify myself as Administrator.
on preOpenStack
initializeCanelaDB
get cdb_auth(pEmail,pPassword,"user")
end preOpenStack
So What is the way to identify myself as Administrator so I can pass a command to add a new Key ?
1 - I tried to use the Add Key button in the Manager. I am able to add the name of the key but cannot find the way to save this new key so I could enter data into it after. Is there a button or a procedure I can use ?
2 - I tried adding a key with the code I found in you documentation using this code:
command cdb_addKeys pTable, pKeys
on mouseUp pButtonNumber
local tTable, tKeys
put "Subject" into tTable
put "Why" into tKeys
cdb_addKeys tTable,tKeys
end mouseUp
I get the following message in the message Windows:
(2019-06-10 20:50:24.543): Error: Failed API Key Authentication
So I checked for A way to log as Developper or Administrator, but I found code that uses "user" but does not tell me with what to replace "user" whit to identify myself as Administrator.
on preOpenStack
initializeCanelaDB
get cdb_auth(pEmail,pPassword,"user")
end preOpenStack
So What is the way to identify myself as Administrator so I can pass a command to add a new Key ?