Skip to Content
0
Former Member
Sep 08, 2009 at 07:51 AM

How to hide MastHead from iView

26 Views

Hi Experts,

I have created linktoURL UI element for WD program1. I am calling WD program2 using linktoURL UI element of WD program1. When I am clinking on the linktoURL UI element, iView of WD program2 gets open successfully. In the iView MastHead (company logo, logoff link, search button, top level navigation etc) is getting displayed. I don't want to display these details. How to do so?

I have set the Launch in new window propert as "Display in seperate headerless portal window" for the iView of WD Program2. However this is not helping.

Can you please let me know how to hide the masthead, company logo, logoff link, search button, top level navigation etc from the iView.

Regards,

Gary

public static void wdDoModifyView(IPrivateAutoSettlementAppView wdThis, IPrivateAutoSettlementAppView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
  {
	wdContext.currentContextElement().
	setUrl("https://ruepd.mycompany.com:50001/irj/portal?" +
			  "NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.mycompany.all.folder.mycompany%2Fcom.mycompany.ep.folder.enterprise_portal%2Fcom.mycompany.portal.folder.roles%2Fcom.mycompany.portal.folder.employee_self_service%2Fcom.mycompany.portal.role.employee_self_service%2Fcom.mycompany.portal.workset.employee_self_service%2Fcom.mycompany.portal.workset.area_travel_expenses%2Fcom.mycompany.portal.page.create_expense_report_Auto&DynamicParameter=trip_number%3D"+
		   (wdContext.currentContextElement().getTripNumber()).replaceAll("^0*","") +
			"%26mode%3Dcreate&TarTitle=Create%20Expense%20Report");