其他分享
首页 > 其他分享> > SAP Spartacus B2B页面Banner Component的路由url是在哪里定义的

SAP Spartacus B2B页面Banner Component的路由url是在哪里定义的

作者:互联网

在Component wrapper里加上一行打印语句:

输出效果:

以CostCentersHomeLink为例:Spartacus里搜索不到,因为这是一个CMS Component:

从spartacussampledata addon的cms-responsive-content.impex文件里,找到了CostCentersHomeLink对应的url:

## BannerComponent in Organization Home Page
INSERT_UPDATE BannerComponent;$contentCV[unique=true];uid[unique=true];name;urlLink;&componentRef;
;;BudgetsHomeLink;Budgets Home Link;/organization/budgets;BudgetsHomeLink
;;CostCentersHomeLink;CostCenters Home Link;/organization/cost-centers;CostCentersHomeLink
;;UnitsHomeLink;Units Home Link;/organization/units;UnitsHomeLink
;;UsersHomeLink;Users Home Link;/organization/users;UsersHomeLink
;;UserGroupsHomeLink;UserGroups Home Link;/organization/user-groups;UserGroupsHomeLink
;;PurchaseLimitsHomeLink;PurchaseLimits Home Link;/organization/purchase-limits;PurchaseLimitsHomeLink

更多Jerry的原创文章,尽在:“汪子熙”:

标签:BudgetsHomeLink,CostCentersHomeLink,Spartacus,url,Component,Link,organization,Ho
来源: https://blog.csdn.net/i042416/article/details/111312670