Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GUI イベント ツールではなく、外部リソースを介してイベントをリッスンしたいと考えています。
何かのようなもの:
entity.onSave(myFunc)
出来ますか?
この呼び出しを介して onSave イベント ハンドラーを追加できます。
Xrm.Page.data.entity.addOnSave(myFunc)
もちろん、OnLoad からこのコードを呼び出して接続する必要があります。
属性に対しても onChange イベントを実行できます
Xrm.Page.getAttribute(controlName).addOnChange(onChange)