在自定义Web资源CRM 2016问题上缺少功能区

时间:2016-09-12 08:20:47

标签: dynamics-crm ribbon dynamics-crm-2015 dynamics-crm-2016

我们在CRM 2016 SP1中面临着奇怪的行为。 当我们在完整网址的帮助下打开一些实体然后转到自定义网页资源页面(通过网站地图(网络资源,网址等)添加)时,我们的功能区突然消失。请在下方观看GIF。

enter image description here

你有任何想法如何解决它?

更新

引入的GIF的结果状态如下所述:

enter image description here

更新2

站点地图自定义部件(SubArea,ID =“nav_pipeline”):

<SiteMap IntroducedVersion="7.0.0.0">
  <Area Id="SFA" ResourceId="Area_Sales" DescriptionResourceId="Sales_Description" Icon="/_imgs/sales_24x24.gif" ShowGroups="true" IntroducedVersion="7.0.0.0">
    <Group Id="MyWork" ResourceId="Group_MyWork" DescriptionResourceId="My_Work_Description" ToolTipResourseId="My_Work_ToolTip" IntroducedVersion="7.0.0.0">
      <SubArea Id="nav_dashboards" ResourceId="Homepage_Dashboards" DescriptionResourceId="Dashboards_Description" ToolTipResourseId="Dashboards_ToolTip" Icon="/_imgs/area/18_home.gif" Url="/workplace/home_dashboards.aspx" GetStartedPanePath="Dashboards_Web_User_Visor.html" GetStartedPanePathAdmin="Dashboards_Web_Admin_Visor.html" GetStartedPanePathOutlook="Dashboards_Outlook_User_Visor.html" GetStartedPanePathAdminOutlook="Dashboards_Outlook_Admin_Visor.html" DefaultDashboard="2701de60-8f2a-48a4-8262-4a35ca7441fa" IntroducedVersion="7.0.0.0" />
      <SubArea Id="nav_personalwall" ResourceId="Whats_New_Label" DescriptionResourceId="Whats_New_Description" ToolTipResourseId="Whats_New_ToolTip" Icon="$webresource:msdyn_/Images/Wall_16.png" OutlookShortcutIcon="$webresource:msdyn_/Images/Wall_16.png" AvailableOffline="false" Url="$webresource:msdyn_/PersonalWall.htm?data=HideUserProfile%3D0" GetStartedPanePath="Dashboards_Web_User_Visor.html" GetStartedPanePathAdmin="Dashboards_Web_Admin_Visor.html" GetStartedPanePathOutlook="Dashboards_Outlook_User_Visor.html" GetStartedPanePathAdminOutlook="Dashboards_Outlook_Admin_Visor.html" IntroducedVersion="7.0.0.0">
        <Privilege Entity="post" Privilege="Read" />
      </SubArea>
      <SubArea Id="nav_activities" DescriptionResourceId="Activities_SubArea_Description" ToolTipResourseId="Activities_SubArea_ToolTip" Url="/_root/homepage.aspx?etc=4200" Entity="activitypointer" GetStartedPanePath="Activities_Web_User_Visor.html" GetStartedPanePathAdmin="Activities_Web_Admin_Visor.html" GetStartedPanePathOutlook="Activities_Outlook_User_Visor.html" GetStartedPanePathAdminOutlook="Activities_Outlook_Admin_Visor.html" IntroducedVersion="7.0.0.0" />
      <SubArea Icon="$webresource:msdyn_/Images/likeIcon.png" Id="nav_pipeline" Url="$webresource:msdyn_/FirstRunContent.1033.htm" Description="Pipeline View" Title="Pipeline" AvailableOffline="false" PassParams="false" Client="Web" />
    </Group>
    ...
</Area>
</SiteMap>

2 个答案:

答案 0 :(得分:0)

可能会以错误的方式理解某些内容,但请查看我从您的示例中获取的屏幕截图。我很确定功能区还在那里:

enter image description here

答案 1 :(得分:0)

只是猜测,因为这个问题应该仔细调试,但似乎是你正在将web资源加载到错误的目标。

Subribbon和内容可能位于单独的iFrame中,并且它托管在默认情况下加载您的Web资源的另一个iFrame中。要避免这种情况,您需要明确加载内容的iFrame。最有可能的方法是设置target HTML属性。