tflanagan / node-qb-record Goto Github PK
View Code? Open in Web Editor NEWA lightweight, promise based abstraction layer for Quick Base Records
Home Page: https://tflanagan.github.io/node-qb-record/
License: Other
A lightweight, promise based abstraction layer for Quick Base Records
Home Page: https://tflanagan.github.io/node-qb-record/
License: Other
Would it be possible to provide an example of how to save a record please?
This is what I am currently trying...
let qbRecord = new QBRecord({
quickbase: quickbase,
tableId: 'abcdefghi'
});
qbRecord.set('6', thickness);
qbRecord.set('7', width);
qbRecord.set('8', length);
qbRecord.set('9', unitOfMeasure);
qbRecord.set('10', quantity);
return qbRecord.save({ fidsToSave: [6, 7, 8, 9, 10] })
.then(response => {
console.log(response);
return response;
})
.catch(error => {
console.error('Error:', error);
});
This is creating a record in QuickBase but it does not appear to be sending in the request those fields. So I am guessing I'm using .set() incorrectly?
Thanks for your help ๐
Hello @tflanagan
I'm trying to use this in a react web app which is built with Webpack.
I can use the quickbase library fine but when trying to use your abstraction layer for records I'm getting this error from webpack:
ERROR in ./node_modules/rfc4122/rfc4122.js 19:15-32 Module not found: Error: Can't resolve 'crypto'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.
Is there an easy way to resolve this? I had the same issue with qb-table as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.