Is there a straight forward way to use the Webflow CMS Javascript API in Webflow Custom Code?
Referring to https://developers.webflow.com/?javascript# and GitHub - webflow/js-webflow-api: Node.js SDK for the Webflow CMS API
For context, I’m trying to create a profile editing page. Currently I’ve got a page with a webflow form that auto-fills based on logged in user details (data coming from Firebase auth) (redirects to login page if user not logged in), then obviously submitting as a form should the user update it. I then have to manually update a CMS item with the user’s updated profile information.
Ideally the form should auto-fill based on a relevant collection item, if one exists for the user, and upon updating/creation it should create/update that collection item. I’d rather not use external databases/services to manage this hence the CMS API seems the logical way forward, however the official JS API appears to build for node.js whereas from my understanding I’d need vanilla JS via CDN to use in custom code?