cancel
Showing results for 
Search instead for 
Did you mean: 

Location of KM Navigation iView

Former Member
0 Kudos

Hallo,

Does somebody knows where KM Navigation iView is located? I mean its .par file on file system. I can't find this file in PCD directory. Thanks for any advice.

Best regards,

Josef Motl

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Josef,

so what is it you want to know?

Regards

PD

Former Member
0 Kudos

Hi,

I would like to modify the same KM iView (navigation iView) than Josef.

In my case, what I need is to change the render of the content in order to display News and some other contents.

I thought that I can make my own PAR file based on "KM Navigation iView" and modify only the HTML display.

Any ideas about how to do this without having to be an extremely-advanced-portal-programmer ?

Thanks in advance

Former Member
0 Kudos

it seems like what you want to do can be achieved by creating a custom xmlform or layout sets. Layout sets are pretty powerful. You can do pretty much every with them. see SAP help for further information.

if you need further help. tell us exactly what you are trying to do.

Former Member
0 Kudos

Thanks, I think I can do what I need with just XmlForms.

Patricio

Former Member
0 Kudos

Hi Josef,

the simple ControllerServletProxy class instantiates an instance of its super class com.sapportals.wcm.app.controller.ControllerServlet and this class is located in com.sap.application.par. So the functionality of km navigation is hidden in the libs contained in this par. But please be aware of the thread Dimitry mentioned above. According to this thread changing such a fundamental function as km navigation can even scare the most experienced developer...

Best regards

PD

Former Member
0 Kudos

Hi,

com.sapportals.wcm.app.controller.ControllerServlet is located if com.sap.km.application.par, but there is:

public class ControllerServlet extends WcmHtmlbBaseServlet

{

public ControllerServlet()

{

}

public DynPage getPage()

{

return null;

}

protected DynPage getPage(HttpServletRequest request, HttpServletResponse response)

{

ControllerServletParameterConfiguration config = null;

IResourceContext context = null;

config = new ControllerServletParameterConfiguration();

config.setServletConfig(getServletConfig());

context = (IResourceContext)request.getAttribute("http://sapportals.com/xmlns/cm/resourcecontext");

ControllerDynPage cdp = new ControllerDynPage(config, context);

cdp.setWdfClassLoader(CrtClassLoaderRegistry.getClassLoader());

return cdp;

}

}

Former Member
0 Kudos

Hi Josef,

in portalapp.xml of the com.sap.km.cm ($irj/root/WEB-INF/deployment/pcd/com.sap.km.cm.par.bak) you can find:

<component name="navigation">

<component-config>

<property name="ClassName" value="com.sapportals.wcm.portal.proxy.ControllerServletProxy"/>

<property name="ComponentType" value="servlet"/>

<property name="SecurityZone" value="low_safety/com.sap.km.cm"/>

</component-config>

so i guess what you need is com.sapportals.wcm.portal.proxy.ControllerServletProxy

regards,

ds

ps. also see

Former Member
0 Kudos

Hi Dimitry,

thanks for your advice, but decompiled class looks like:

public class ControllerServletProxy extends PCProxyServlet

{

public ControllerServletProxy()throws ServletException

{ super("com.sapportals.wcm.app.controller.ControllerServlet");

}

}

I couln't get code of KM Navigation iView throw this class.

I'd like to change some functionality of this iView.

Regards,

Josef