Sorry, no results found for "".
RFC 4122 UUID of fieldset expressed in URL-safe base64 format
"93Y1C2sySkG4Eg0atBRIwg"
The title of the fieldset
"SEO-related fields"
Description/contextual hint for the fieldset
"Please fill in these fields!"
Ordering index
1
Whether the fieldset can be collapsed or not
When fieldset is collapsible, determines if the default is to start collapsed or not
Returns a resource object of type fieldset
import { buildClient } from "@datocms/cma-client-node";
async function run() { const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const modelIdOrApiKey = "blog_post";
const fieldset = await client.fieldsets.create(modelIdOrApiKey, { title: "SEO-related fields", });
// Check the 'Returned output' tab for the result ☝️ console.log(fieldset);}
run();
{ id: "93Y1C2sySkG4Eg0atBRIwg", title: "SEO-related fields", hint: "Please fill in these fields!", position: 1, collapsible: true, start_collapsed: false, item_type: { type: "item_type", id: "DxMaW10UQiCmZcuuA-IkkA" },}