Customer Relationship Management Blogs by Members
Find insights on SAP CRM and other customer relationship management products and topics in blog posts from community members and share your own perspective.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

Prerequisists:

1. Custom WCB is created.

2. Custom  Main is created

Steps:

Check-out the DCs - module: main and with parts: ui, md from  the track: SAP-WCE

Create a new custom  extension for main with namespace:customer.

In UI Part of Customer Namespace, you need to change the following:

In customer/main/ui:

                    Add menu name you want to add here in menuConfig.xml

 


<MenuConfiguration xmlns:wec="com.sap.wec.core.config">
<Menu name="contactus" navigation="toContactUs" order = "4000" description="main.ui.header.contactus.menu" />
<MenuMapping moduleMenuName="main:highlightContactUs" menuName= "contactus"/>
</MenuConfiguration>

ui-repository.xml

               Add the following to your customer/main/ui ->ui-repository.xml


<UIRepository xmlns="http://www.sap.com/wec/frw/tc/ui/runtime/ui-repository"
module="main">
<Page defaultLayout="1column" name="contactUsPage" contentArea="contentContactUs"
  extends="basePage" ownLayoutUsed="true" menu="highlightContactUs">
  <Layout name="1column" />
  <Area defaultInclude="contactUs" name="contentContactUs" />
</Page>

<UIInclude name="contactUs" />
<NavigationTarget name="toContactUs"  targetComposition="Page:contactUsPage" />
</UIRepository>