JoshuaTate
8 years agoQrew Cadet
How to pull field types and info from field page in console (Should be an export function in QB hack through console...)
Hi Quickbase Community,
I would like to pull out the field types and field info (for details like report link), from console along with the field names and ID's given Quickbase lacks an export function (that would be extremely beneficial in saving development time). I have plagiarised code from Dan and attempted to get back the field type info but am only getting double letter abbreviations which aren't telling me the whole story in some instances i.e text and rich text is returned as "TX".
Any help would be greatly appreciated, I can always muddle through wasting 5 minutes reformating a copy paste in excel (removing unnecessary " " in random fields that i don't get from a console dump). (P.S i am very tired at time of writing).
Kind regards,
Josh
I would like to pull out the field types and field info (for details like report link), from console along with the field names and ID's given Quickbase lacks an export function (that would be extremely beneficial in saving development time). I have plagiarised code from Dan and attempted to get back the field type info but am only getting double letter abbreviations which aren't telling me the whole story in some instances i.e text and rich text is returned as "TX".
_
console.log(_.reduce(gTableInfo[gReqDBID].finfo, (memo, field, fid, type) => {
return memo + '${fid},${field.name},${field.type}\n';
}, "" ));
Any help would be greatly appreciated, I can always muddle through wasting 5 minutes reformating a copy paste in excel (removing unnecessary " " in random fields that i don't get from a console dump). (P.S i am very tired at time of writing).
Kind regards,
Josh