![](/img/trans.png)
[英]RibbonActions.js Deprecated in Dynamics 365 Unified Interface. Is there any new JS Library replacing RibbonActions.js?
[英]CommandBarActions.js Deprecated in Dynamics 365 Unified Interface. Is there any new JS Library replacing CommandBarActions.js?
這里有一個關於RibbonActions.js的類似問題,但我找不到包含Mscrm.CommandBarActions.launchOnDemandWorkflowForm
的庫(它曾經在/_static/_common/scripts/commandbaractions.js
)。 我需要在不使用代碼的情況下啟動 WF。
有誰知道這個函數現在存儲在哪里?
PS 我知道智能按鈕。
我不明白您在沒有代碼的情況下啟動的要求,但這就是您可以使用 RibbonWorkbench 從 Ribbon 調用工作流的方式。 https://community.dynamics.com/365/b/dynamics365enterprisecloudfronts/posts/call-workflow-directly-from-a-button-using-ribbon-workbench
如果您可以運行 js 來啟動工作流,則可以使用此處看到的 Xrm.WebApi.online.execute 方法傳遞參數來執行它: https ://docs.microsoft.com/en-us/powerapps/developer/model-driven -apps/clientapi/reference/xrm-webapi/online/execute
您可以使用功能區工作台中的智能按鈕在模型驅動的應用程序 (Dynamics 365 UCI) 中運行工作流、WebHook、報告、Quick JS。 http://develop1.net/public/post/2019/12/21/smart-buttons-for-the-unified-interface
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.