Hello,
I would like to suggest using form save inside your javascript https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data/save
and give it a try , also I noticed that you are using xrm.page , it will deprecated so we recommend to use ExecutionContext.getFormContext instead.
Here is out documentation for the new changes https://docs.microsoft.com/en-us/power-platform/important-changes-coming#some-client-apis-are-deprecated
Also I am wondering if this problem with only bpf headers fields or to the whole form , I think you can also try to make the same in a different form or entity.
Please reply me back with your findings and if the problem still exist , will be glad to support you.
Thanks,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156