Question: Why was BF_Model not being set even though the model data was present in $payload?
Answer: The CONFIGURE HERE script was pointing to the wrong script. Updating it to reference the correct script resolved the issue.
Original Slack Thread
User U030U5PCXKQ: why is the $$BF_Model not being set? what am I missing here ?
it is passing in $payload :
{
"commonHookSetName": "templatemobile",
"data": {
"authLevel": 0,
"description": "Text and optional voice capture. FileMaker submission paused until the hook set is ready.",
"devDataEnabled": true,
"folds": {
"formSchema_folds": []
},
"form": {
"hookSetName": "capture_text"
},
"formType": "formblank",
"hookPackage": {
"action": "runUtilityHook",
"idForm": "FR_8910AA26-C9A8-AF4B-8F42-D6F8798AA34A",
"idThread": 1790356034484,
"options": {
"type": "capture"
}
},
"hookSetName": "capture_text",
"id": "FR_8910AA26-C9A8-AF4B-8F42-D6F8798AA34A",
"idOrganization": "OR_5F0699CD-6651-2848-A2DA-6B68B2A31CF5",
"idSite": "ST_F162057D-61AA-DA49-9CC7-6288A5D5D4CA",
"isPublicExample": 0,
"model": {
"_hideSiteHeader": true,
"capture": {
"source": "phone_capture",
"text": "build a phone app, that captures voice input. as a quick brain dump. "
},
"captureUI": {
"error": "",
"interim": "",
"message": "",
"submitting": true,
"voiceState": "idle",
"voiceSupported": true
}
},
"modificationTS": "2026-09-25 9:55:19 AM",
"name": "Brain Dump",
"onFormRequestHook": false,
"query": {
},
"state": {
"domain": "dscapture.clientportal.cloud",
"host": "dscapture.clientportal.cloud",
"params": {
"clientId": "9G9-BzAOZCAL1Nf3AAHV",
"handshake": {
"headers": {
"host": "dscapture.clientportal.cloud",
"x-forwarded-host": "dscapture.clientportal.cloud",
"x-real-ip": "172.31.28.1"
}
},
"host": "dscapture.clientportal.cloud",
"provider": "socketio",
"query": {
},
"route": {
}
},
"server": {
"dc": "AWS-US-WEST-1",
"gateway": "XML",
"version": "3.5.88"
},
"subdomain": "dscapture"
},
"validateAfterChanged": false,
"validateAfterLoad": false,
"validateOnBack": false,
"validateOnServer": false
},
"hookName": "onUtility",
"service": "formsService.onUtility"
}
User U03JJ08GZEG: <@U030U5PCXKQ> did this resolve? If not what where is the BF_Model not being set? On your webpage?
User U030U5PCXKQ: not resolved yet. where does it get set first ?
User U03JJ08GZEG: So if youre passing this data up then its being set in FM
User U03JJ08GZEG: In what ever script you get this initial model data from
User U030U5PCXKQ: I found my error... I had it pointing to the wrong script in the CONFIGURE HERE script .. think I'm good now. Thanks Hassan