使用菜单中的 URI 更改页面副标题?

问题描述

添加一个应用程序菜单项,其中包含一个带有自定义过滤器的 URI,附加到页面名称(又名 URI 查询字符串)。我希望更改页面标题以在页面上表示此过滤数据。

有没有人做过这样的工作,或者有没有使用应用程序菜单项设置页面标题的简单方法

这是在浏览器中调用内容

<h1 class="oro-subtitle" id="grid-title-contacts-grid2073">All Contacts</h1>

这是 URI 中的内容(已解码)

/contact?grid[contacts-grid]=i=1&p=25&s[lastName]=-1&s[firstName]=-1&f[__duplicate]=0&f[contactType][type]=1&f[contactType][value][ ]=PCM&c=id0.firstName1.lastName1.birthday0.gender0.email1.phone1.fax0.skype0.twitter0.facebook0.linkedIn0.googlePlus0.source1.countryName1.regionLabel1.addresspostalCode1.addressCity0.addressstreet0.createdAt1.updatedAt1.ownerPictureFilename0 assignedname0.reportsName0.timesContacted0.timesContactedIn0.timesContactedOut0.lastContactedDate0.lastContactedDateIn0.lastContactedDateOut0.daysSinceLastContact0.contactType1.dateOfBirth1.PCMStatusContact1.tags1&vstrong>p

解决方法

您可以保存网格视图并为其指定自定义标题。 以下是有关如何执行此操作的文档:https://doc.oroinc.com/user/back-office/getting-started/navigation/record-tables/#create-saved-table-views-grid-views

然后复制页面的 URL 并将其用于菜单项。它现在应该重定向到带有您的标题的已保存视图。