如何启用具有不同上下文根的两个店面?

2020-09-12 22:21发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我首先创建了一个模块生成xyz,最终给了我扩展名:xyccockpit xyctest xycbackoffice xycinitialdata xyzstorefront xyccore xycfacade

我试图通过extgen yacceleratorstorefront模板创建xxxstorefront扩展。

两个店面的产品目录在xyzinitialdata中共享,并且内容目录由两个不同的cmssite ID(xyzsite和xxxsite So)分别维护。 我想要两个具有不同上下文根的站点,例如 localhost:9002/xyzstorefront?site = xyzsite 和 localhost:9002/xxxstorefront?site = xxxite (无法正常工作404)

但是我只能通过更改站点ID来通过xyzstorefront上下文根来访问两个站点,而不能通过不同的上下文来访问。 如何实现呢?

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我首先创建了一个模块生成xyz,最终给了我扩展名:xyccockpit xyctest xycbackoffice xycinitialdata xyzstorefront xyccore xycfacade

我试图通过extgen yacceleratorstorefront模板创建xxxstorefront扩展。

两个店面的产品目录在xyzinitialdata中共享,并且内容目录由两个不同的cmssite ID(xyzsite和xxxsite So)分别维护。 我想要两个具有不同上下文根的站点,例如 localhost:9002/xyzstorefront?site = xyzsite 和 localhost:9002/xxxstorefront?site = xxxite (无法正常工作404)

但是我只能通过更改站点ID来通过xyzstorefront上下文根来访问两个站点,而不能通过不同的上下文来访问。 如何实现呢?

付费偷看设置
发送
2条回答
黑丝骑士
1楼 · 2020-09-12 22:35.采纳回答

您为什么会有两个店面? 您将需要为这些定义不同的webroot。 就像是 xxxstorefront.webroot =/xxxstorefront xyzstorefront.webroot =/xyzstorefront

这可能可以工作,但我仍然不会这样做:)

太Q了
2楼-- · 2020-09-12 23:00

嗨,我尝试添加xxxstorefront.webroot =/xxxstorefront时,当我访问该网站时,storefrontcontextroot为空,但我仍然遇到问题。

一周热门 更多>

点击此处---> EasySAP.com 一起学习S4 HANA ...

相关问答