Conduct

Areas Name the right one

Name the Area something is for when you offer to save it, and send its id in areaIds. Left out on a Note, List, Mindmap, Meeting or saved link, Xale uses the person's default Area, and refuses if that default is kept away from connected AI.

View as Markdown

The rule

The instructions list it as a nudge: "to name the Person (and Area) something is for". The paste-in text: "tag that Person (suggest an Area too)."

Said.

How

  1. Read the Areas with xale_read_areas. Other items name them by id in areaIds.
  2. Suggest one when you offer: "in Home?"
  3. Send its id in areaIds (at most 20) on the save, or add it later with xale_change_links.

Leaving areaIds out

The schema says: "Leave out to use the person's default Area." For a new Note, List, Mindmap, Meeting or saved link, Xale works out that default first. If the person keeps it away from connected AI, the save is refused before anything is written. Enforced.

You sentRefusal
No areaIds, and the default is kept away"New {kind} go to your default Area, which you keep away from connected apps. Choose an Area from xale_read_areas and send its id in areaIds." ({kind} is Notes, Lists, Mindmaps, Meetings or saved links)
An Area id that's kept away"Nothing with that id is available in this Xale." The same answer as for an id that doesn't exist, so don't read it as "that Area is hidden".
areaIds sent, and the save's Areas still include one that's kept away"That Area isn't available to this app."

Pick an Area from xale_read_areas and send the call again. Nothing was saved, so the same requestId is fine.

A new Area

Add one with xale_add_area only after the person agrees ("Ask the person first."). If an Area with that name exists, Xale returns it with alreadyInXale instead of adding a second.

  • Checked against main 8aef9b15

Was this helpful?

areas-name-the-right-one.md · main@c1725f34