【问题标题】:Acumatica - sitemap item does not show in modern UIAcumatica - 站点地图项目未在现代 UI 中显示
【发布时间】:2018-06-21 10:36:47
【问题描述】:

我刚刚向站点地图添加了一个销售佣金报告,它在经典 UI 中显示,但在现代 UI 中不显示。当我在现代 UI 中搜索它时,结果什么也不返回。我的站点地图节点在 project.xml 中的样子:

<SiteMapNode>
    <data-set>
        <relations format-version="3" relations-version="20160101" main-table="SiteMap">
            <link from="MUIScreen (NodeID)" to="SiteMap (NodeID)" />
            <link from="MUIWorkspace (WorkspaceID)" to="MUIScreen (WorkspaceID)" type="FromMaster" linkname="workspaceToScreen" split-location="yes" updateable="True" />
            <link from="MUISubcategory (SubcategoryID)" to="MUIScreen (SubcategoryID)" type="FromMaster" updateable="True" />
            <link from="MUITile (ScreenID)" to="SiteMap (ScreenID)" />
            <link from="MUIWorkspace (WorkspaceID)" to="MUITile (WorkspaceID)" type="FromMaster" linkname="workspaceToTile" split-location="yes" updateable="True" />
            <link from="MUIArea (AreaID)" to="MUIWorkspace (AreaID)" type="FromMaster" updateable="True" />
            <link from="MUIPinnedScreen (NodeID, WorkspaceID)" to="MUIScreen (NodeID, WorkspaceID)" type="WeakIfEmpty" isEmpty="Username" />
            <link from="MUIFavoriteWorkspace (WorkspaceID)" to="MUIWorkspace (WorkspaceID)" type="WeakIfEmpty" isEmpty="Username" />
        </relations>
        <layout>
            <table name="SiteMap">
                <table name="MUIScreen" uplink="(NodeID) = (NodeID)">
                    <table name="MUIPinnedScreen" uplink="(NodeID, WorkspaceID) = (NodeID, WorkspaceID)" />
                </table>
                <table name="MUITile" uplink="(ScreenID) = (ScreenID)" />
            </table>
            <table name="MUIWorkspace">
                <table name="MUIFavoriteWorkspace" uplink="(WorkspaceID) = (WorkspaceID)" />
            </table>
            <table name="MUISubcategory" />
            <table name="MUIArea" />
        </layout>
        <data>
            <SiteMap>
                <row Position="1.5" Title="Sales Commissions" Url="~/Frames/ReportLauncher.aspx?ID=SO646000.rpx" Expanded="0" IsFolder="0" ScreenID="SO646000" NodeID="972cf181-504a-4df7-88d1-c4cb1a0c93d4" ParentID="85e0f6b3-8ae8-43aa-ad7b-ea4d4d5f381e" />
            </SiteMap>
        </data>
    </data-set>
</SiteMapNode>

还有我的站点地图目录的截图:

https://drive.google.com/open?id=1wp2xWqdx-0lbGE7xfDuD6bhtLrK1-I7i

任何想法可能会发生什么?我尝试了几次重新创建站点地图条目,但仍然没有。

【问题讨论】:

    标签: acumatica


    【解决方案1】:

    添加到站点地图后,您必须将其添加到工作空间。仅仅因为您将其添加到站点地图并不会自动将其添加到新 UI。

    帮助文章应该可以帮助您完成新 UI 的编辑。这是一篇可能有帮助的文章:

    To Add a Link to a Workspace

    更多帮助...

    Customizing the Modern User Interface

    Workspaces in the Modern UI

    编辑:如果您已经将站点地图添加到您的自定义中,然后将条目添加到工作区,您需要通过从数据库重新加载来更新您的自定义项目中的站点地图条目(站点地图下的选项)。

    【讨论】:

    • 再次感谢布伦丹。第一个链接的说明效果很好。有什么方法可以将其包含在自定义包中,这样客户就不必自己动手了?
    • 是的,一旦您将其添加到工作区,您就可以更新您的自定义包。如果尚未添加站点地图条目,或者从数据库重新加载。请注意,旧版本无法正确加载站点地图。我不记得这是在哪个版本中修复的,所以如果不工作,只需从您的自定义包中删除站点地图并重新添加。我们分发站点地图,工作空间可以很好地配合我们的更改。
    猜你喜欢
    • 1970-01-01
    • 2019-06-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多