Forum Discussion
JoshuaTate
8 years agoQrew Cadet
Ok so - I couldn't get the below code to work, for whatever reason it just froze the script:
$.get(dbidSOW, {
act. "API_EditRecord",
rid: F3,
_fid_114: WRrid
})
.then(function(xml) {
console.dirxml(xml);
});
With that said I have a workaround for now but by all means, it is not a long-term solution as I hate mixing code types but I have used a URL API to get the edit record complete - i wish i could work out why it won't work in Java above....
.then(function(xml) {
console.dirxml(xml);
var WRrid = $("rid", xml).text();
console.log(WRrid);
document.location.href="https://rosjohnston.quickbase.com/db/bna3zpabw?a=API_EditRecord&rid="+F3+"&_fid_11...
});
Cheers
Josh
$.get(dbidSOW, {
act. "API_EditRecord",
rid: F3,
_fid_114: WRrid
})
.then(function(xml) {
console.dirxml(xml);
});
With that said I have a workaround for now but by all means, it is not a long-term solution as I hate mixing code types but I have used a URL API to get the edit record complete - i wish i could work out why it won't work in Java above....
.then(function(xml) {
console.dirxml(xml);
var WRrid = $("rid", xml).text();
console.log(WRrid);
document.location.href="https://rosjohnston.quickbase.com/db/bna3zpabw?a=API_EditRecord&rid="+F3+"&_fid_11...
});
Cheers
Josh