Forum Discussion
AlvaroGuerrero
9 years agoQrew Member
Hi Laura,
I'm testing the API_DoQuery with the following code and I'm not getting any result. Could you help me?
var promise = $.get(dbidcalendar, {
act: "API_DoQuery",
query: "{3.EX.178}",
clist: "3"
});
$.when(promise).then(function(xml){
var recordid = $("rid", xml).text();
});
I use something similar for API_AddRecord and API_EditRecord and it works very well. The APP does not have APPTOKEN
I'm testing the API_DoQuery with the following code and I'm not getting any result. Could you help me?
var promise = $.get(dbidcalendar, {
act: "API_DoQuery",
query: "{3.EX.178}",
clist: "3"
});
$.when(promise).then(function(xml){
var recordid = $("rid", xml).text();
});
I use something similar for API_AddRecord and API_EditRecord and it works very well. The APP does not have APPTOKEN
CarlosCarlos
7 years agoQrew Assistant Captain
Hi,
is there a way to not use the field name, but use the field ID instead?
from: $("rid", xml).text();
to: $('23', xml).text();
is there a way to not use the field name, but use the field ID instead?
from: $("rid", xml).text();
to: $('23', xml).text();