set-form-fields

Replace all fields on NovaDB Form objects via attribute 5053.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/novadb/claude-plugins --skill set-form-fields
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: set-form-fields
Source: https://github.com/novadb/claude-plugins/tree/main/consulting/skills/set-form-fields
Command: npx skills add https://github.com/novadb/claude-plugins --skill set-form-fields

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Replace the complete ordered list of fields on an existing NovaDB form in a single, deterministic operation to avoid inconsistent form definitions and manual edits.

Core Features & Use Cases

  • Full replacement of form content (attribute 5053) for Form objects (typeRef 50) to enforce a precise field ordering and membership.
  • Ensures each field is provided as an individual CmsValue entry with incrementing sortReverse values, preventing array-based mistakes and accidental deletions.
  • Use cases include schema migrations, form redesigns, and restoring canonical field sets across branches via novadb_cms_update_objects.

Quick Start

Replace the fields on form 2097152 in branch main with the ordered attribute IDs 1001, 1002, 1003 using the set-form-fields skill.

Frequently Asked Questions about set-form-fields

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace all form fields on a NovaDB form object in a single operation?

To replace form fields on a NovaDB form object, you perform a complete ordered replacement of attribute 5053 for typeRef 50 objects using the novadb_cms_update_objects tool, ensuring each field is an individual CmsValue entry with incrementing sortReverse values.

What is the safest way to enforce a precise field ordering during a form migration?

The safest way to enforce precise field ordering during a form migration is to replace the entire form field list at once, providing each field as an individual CmsValue entry with incrementing sortReverse values to prevent array-based mistakes and accidental deletions.

Why does my form field replacement fail when using array values instead of individual entries?

Form field replacement fails with array values because the attribute 5053 replacement requires individual CmsValue entries for each field with incrementing sortReverse values, preventing array-based mistakes and ensuring deterministic ordering across the novadb_cms_update_objects transaction.

Can I use novadb_cms_update_objects to restore canonical field sets across different branches?

Yes, you can use novadb_cms_update_objects to restore canonical field sets across branches by performing a full replacement transaction of attribute 5053 on the target Form objects to enforce precise field membership and ordering.

When do I need to replace the complete ordered list of fields on an existing NovaDB form?

You need to replace the complete ordered list of fields on an existing NovaDB form during schema migrations, form redesigns, or when restoring canonical field sets to avoid inconsistent form definitions and manual edits.

Does replacing form fields with attribute 5053 require specific CmsValue entries?

Yes, replacing form fields with attribute 5053 requires individual CmsValue entries for each field using incrementing sortReverse values to ensure deterministic ordering and prevent accidental deletions during the novadb_cms_update_objects transaction.