0

当 iam 使用
src="/_layouts/SP.js src="/_layouts/SP.UI.Dialog.js src="/_layouts/SP.Core.js 这些引用 iam 面临错误消息 Object does not支持属性或方法 'customFromJson' sp.ribbon.js?rev=mJ6GVWQrgE​​26i0%2F2QeG%2B%2Bw%3D%3D:2 。

4

1 回答 1

0

在我的自定义母版页中,将 Localizable 属性添加为 false。工作绝对没问题。在 Office 365 SharePoint 2013 自定义母版页中。

<SharePoint:ScriptLink ID="ScriptLink1" language="javascript" LoadAfterUI="True" name="sp.js" OnDemand="true" runat="server" Localizable="false" />
<SharePoint:ScriptLink ID="ScriptLink2" language="javascript" LoadAfterUI="True" name="sp.ribbon.js" OnDemand="true" runat="server" Localizable="false" />
<SharePoint:ScriptLink ID="ScriptLink3" language="javascript" LoadAfterUI="True" name="sp.runtime.js" OnDemand="true" runat="server" Localizable="false" />
<SharePoint:ScriptLink ID="ScriptLink4" language="javascript" LoadAfterUI="True" name="sp.core.js" OnDemand="true" runat="server" Localizable="false" />     
于 2013-11-21T07:15:50.583 回答