PCF control extending the native grid

大城市里の小女人 提交于 2021-01-25 07:18:15

问题


This question is follow up on another SO thread.

When I'm trying to use this manifest, getting error.

<?xml version="1.0" encoding="utf-8"?>
<manifest>
  <control namespace="MyControls.MyGridControl" constructor="MyGridControl" display-name-key="MyGridControl" description-key="MyGridControl" version="1.0.0" hidden="false" control-type="virtual">
    <modes><read /><edit /></modes>
    <data-set name="Grid" display-name-key="CC_Grid_DSGrid" cds-data-set-options="displayViewSelector:false;displayQuickFind:false"></data-set>
    <dependencies>
      <dependency name="MscrmControls.Grid.ReadOnlyGrid" />
    </dependencies>
    <resources>
      <code path="MyGridControl.js" order="1" />
    </resources>
    <AvailableOn>
      <web classic="enable" />
      <phone />
      <tablet />
    </AvailableOn>
  </control>
</manifest>

Error in VS code terminal when trying to build:

Manifest validation problem: instance.manifest.control[0] is not allowed to have the additional property "dependencies"

What tweak should I make to move ahead?

来源:https://stackoverflow.com/questions/64947343/pcf-control-extending-the-native-grid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!