# KRB About Us full page-group import v4

Run `krb-about-us-full-page-group-import-v4.js` in the Webflow API Playground / Designer console with one KRB About Us page open at a time.

## Scope

- Current open page only; no page switching.
- No publish.
- Writes component instance props via `searchProps()` + `setProps()`.
- Traverses normal children and component slots via `getSlots()` + `slot.getChildren()`.
- Appends missing `Global / Visual` children for gallery images only when needed.
- Sets `Global / Visual` → `Image/Image` using matched Webflow assets.

## Included page group

- Our Campus
- Our People
- School Board
- Senior Executive
- Employment
- Our Policies

## Working helper patterns to reuse

- `collect()` — recursive traversal across normal children and Webflow component slots.
- `findProp()` / `findPropLoose()` — exact and fallback component prop discovery.
- `setProp()` — value shaping and multi-attempt `setProps()` wrapper.
- `visible()` — handles the KRB boolean where `trueLabel` can mean “Visible”.
- `ensureVisuals()` — finds appendable `Gallery Images` slot and appends missing `Global / Visual` instances.
- `setImage()` — image asset value shape attempts for `imageAsset` props.

## Output

Console result prefix:

`KRB_ABOUT_FULL_PAGE_GROUP_IMPORT_RESULT`

Important fields:

- `set` — props written.
- `imagesSet` — gallery images written.
- `appended` — newly added `Global / Visual` gallery items.
- `warnings` — missing sections or non-blocking issues.
- `issues` — blocking or failed writes.
- `manual` — remaining manual checks, especially downloads/accordion nuances.
- `slotDebug` — useful if a future component slot traversal fails.
