Alert JS Alert.showWebResource给出“ Alert._jQuery不是函数”错误

问题描述 投票:0回答:1

我正在Dynamics 365按钮中通过磁力使用Alert JS库。当我在某些地方使用Alert.showWebResource()时,它工作正常,而在其他地方,则出现“ Alert._jQuery不是函数”错误。

有人有这个问题吗?enter image description here

javascript alert dynamics-365 crm-ribbon-workbench
1个回答
0
投票
现在如何添加此依赖项?

您可以按照下面的图像所示进行操作。

注意:如果使用clientCommand,则需要AlertJs函数

enter image description here

有更新的方法,可以通过

Ribbon Dependencies in Version 9 – isNaN is no more!

© www.soinside.com 2019 - 2024. All rights reserved.