For each event you use, create the named screen Client Action below. Add its listed input parameters with the exact types. Select that action on MainComponent's event property, then enter each mapping explicitly. Event arguments and screen locals are different scopes.
OnAnnotationsChanged → HandleAnnotationsChanged
Complete BluImageAnnotation list.
Flow: Start → validate the requested value; assign the corresponding screen state so the Block receives it back → End.
For a JSON argument, use JSON Deserialize with the matching Structure or List shown in this component’s API. Do not deserialize unrelated payloads into the same structure. Keep the raw JSON only when the documented storage contract requires it.
OnError → HandleError
Readable configuration or operation failure.
Flow: Start → display the mapped error argument in your feedback region → End.
OnExported → HandleExported
PNG data URL of the marked-up image.
Flow: Start → run your application action using the mapped event arguments → End.
OnSaveRequested → HandleSaveRequested
Unique save correlation identifier.
Flow: Start → call your application action; handle success and failure before acknowledging the request → End.
For a JSON argument, use JSON Deserialize with the matching Structure or List shown in this component’s API. Do not deserialize unrelated payloads into the same structure. Keep the raw JSON only when the documented storage contract requires it.
OnSelectionChanged → HandleSelectionChanged
Selected annotation key; empty clears selection.
Flow: Start → validate the requested value; assign the corresponding screen state so the Block receives it back → End.