on 11-03-2004 6:53 PM
Can anyone tell me in what PAR file(s) the following iviews are located?
pcd:portal_content/com.sap.ip.collaboration/TemplateContent/Generic/iViews/com.sap.netweaver.coll.RoomNews
pcd:portal_content/com.sap.ip.collaboration/TemplateContent/Generic/iViews/com.sap.netweaver.coll.RoomDocuments
I would like to make small modifications to one of these if possible.
Eric -
I believe that both of those iViews are based on the com.sap.km.cm.navigation PAR file. I'd be extremely careful about making changes to this because this iView is used to display almost all of the CM content in the portal.
Additionally, you should only be making minor modifications to the JSPs and not to the actual java code.
Regards,
Kyle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Kyle!
Actually, yes, I just wanted to make one mod to the JSP - to hide the "create" link (or "new" - I can't remember what the link actually says).
And I really just want to make my own copy of the code.
Not so much change the functionality of the existing iviews.
I don't see any pars named com.sap.km.cm.navigation*.
I am on EP6 SP2 Patch 5.
What directory is this PAR in?
Thanks!
Hi Eric,
here some "generic" approach, how you find par files starting from the pcd url.
Navigate through the path given in the pcd url:
-> Portal Content Studio -> Portal Content -> com.sap.ip.collaboration -> Template Content -> Generic -> iViews -> Room News (com.sap.netweaver.coll is the prefix)
or simply use the search function and search for *RoomNews.
Edit Object -> Property Category: Advanced
Code Link tells you the par file name and component name.
For the Room News iView, the base component is in the par file com.sap.km.cm and the component's name is navigation.
So browse to that par file, open the portalapp.xml and look for the component "navigation".
Regards, Karsten
... and even more generic:
in bash:
<script>
export dir=`pwd`
for xmlFile in `find $dir -name "portalapp.xml"`
do
cat $xmlFile | grep "application name" | gawk -F\" '{print " * "$2" * "}' >> applicationNames.text
cat $xmlFile | grep "component name" | gawk -F\" '{print "| "$2}' >> applicationNames.text
cat $xmlFile | grep ClassName | gawk -F\" '{print "->"$4}' >> applicationNames.text
done
</script>
Hi Karsten,
Navigation component at portalapp.xml has some properties
you can set, but it's not too flexible because it's xml
file only (or because I don't know how to do it right).
For example I need to set StartUri value to something
calculated according to logged on user name, how do I
do it? And how can I remove all that "View, Folder,
Selection, Go To, Search" menus and "documents" title
from the top of it (displayed when AdminExplorer layout
used), but just for my component (if I copied com.sap.km.cm.par
into my.km.cm.par)?
Thank you,
Yuri
Yuri -
Yes, I would like to do something similar I think!
I am new to this, so I don't get it at all.
I want to modify the look of the object "com.sap.netweaver.coll.RoomLinkList".
The code link for this iView is "com.sap.km.cm.navigation".
The Layout Set is "LinkListExplorer".
The Query is "ConfigFileName=Navigation.xml&StartPage=NavigationPage&Validate=false".
Can anyone shed any light on this?
I imported the Par into Eclipse, but I do not see any JSPs. Does the look have to do with the Layout???
Please help!
Hi Yuri & Eric,
the modifications at least Yuri wants to do are done by flexible UI. Create an own LayoutSet (copy the AdminExplorer and rename it to MyOwnAdminExplorer for example) and remove the commands you want to be removed.
com.sap.km.cm.navigation ist very, very generic and not to be thaught for being changed (and that someone says who does not have the biggest scruple to modificate if necessary).
Hope it helps
Detlev
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.