on 05-22-2006 8:54 PM
Hi everyone,
For customizing the final user´s view for Discussion Groups,
I created a custom Layout Set "myDiscussionGroupsContributor"
that references a custom Collection List Renderer
"myDiscussionGroupWithoutTopicsContributorCollectionListRenderer"
that references a custom Command "my_join_discussion_thread_contributor"
that has a custom Layout Set assigned "mySingleDiscExplorerContributor".
When accessing the discussions via the final users it works fine
(I´ve already corrected the "Back" link problem acording thread
The problem is that when I send a discussion via e-mail
to another user using the "send to" command,
the received link opens the discussion using the default
"DiscussionGroupsContributor", in fact, the e-mail´s HTML code
contains the property "rndLayoutSet=SingleDiscExplorerContributor"
as noted in the following href element:
href="http://myportal:50000/irj/servlet/prt/portal/prtroot/
com.sap.km.cm.navigation/discussiongroups/
80b935d9-90a8-2810-17a6-c88c15fd350b/
324e1175-98a8-2810-16a2-ee1c1f9c54bc.dsc?
StartUri=/discussiongroups/80b935d9-90a8-2810-17a6-c88c15fd350b/
324e1175-98a8-2810-16a2-ee1c1f9c54bc.dsc&
rndLayoutSet=SingleDiscExplorerContributor&scHeight=300&
scWidth=220&scPostListWidth=500" target=_blank
The same happens with the link in the subscriptions list.
Does anybody know how to set the layout in these links ?
Hi all,
I solved the problem, so here I post the steps for the solution I found.
1) Modify the Object Type Definitions:
In the CM Repository there is a folder root > etc > oth.
There you have to change the LayoutSet settings in the following files
(I don´t know if it is necessary to modify all of them):
- discussion_post.oth
- discussion_topic.oth
- discussion.oth
- discussiongroups_items.oth
- discussionPostType.oth
- discussionType.oth
- dscGroupsCollType.oth
- dscGroupsItemsType.oth
2) Then you have to reload de OTH settings:
In the Content Management configuration (System Administration >
System Configuration > Content Management)
go to User Interface > Debugging Settings and edit the configuration.
Add your user id to "UI Superusers" then enable
"Enable Rendering Information" and save.
Then go to a KM and clic on "Rendering Information"
(If the link doesn´t appear, refresh your window).
A new window opens, clic in "OTH-Overview"
and then in the new window click on "Reload".
Finally close all popup windows and go to the
Debugging Settings again to disable the checkbox
"Enable Rendering Information"
For further information you can read:
http://help.sap.com/saphelp_nw04/helpdata/en/02/e4e25538f7274eb08b317751f2f04b/frameset.htm
and
http://help.sap.com/saphelp_nw04/helpdata/en/f4/2c6b2089cc784bb384a7ea058de50d/frameset.htm
I hope someone find this thread useful.
Daniel Sacco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.