on 05-13-2009 9:09 AM
Hello,
we have created a XML Form for publishing our company news. We have news for different regions, like Europe, Asia, Australia, North America, ...
The news for every region are stored in different folders and displayed on different pages. Now we want one page "Global News" which contains the most recently updated news from all regions.
How can we display these news which are stored in different folders on one page? Can anyone please tell me which steps I have to do?
Regards
Philipp
you cannot get all the news which are in differnt folders into a single KM navigation iview.
But you can do it manually by using internal link into a new folder as global news and assign this folder to your KM NAvigation iview.
If you want to done that automatically then use taxonmies whihch will classify your documents.
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then we need to simulate the action of Taxonomy and classification.
A KM repository service or a KM Scheduler needs to be deployed which will create links in the
Global News folder from all the other folders.
Repository Service
A KM Rep Service which will listen to the create resource event on the predefined folders and will
create short cut links to those created resources in the Global News folder
KM Scheduler
Almost the same as Rep Service, only difference being we need to schedule the actions like every end of day or every 1 hour like that.
Both of the approach needs a KM Navigation iView to display the news.
The sorting based on date can be given at the Layout settings
Regards
BP
Ofcourse without TREX you cannot work on taxonmoies.
Publish all your news in a global news and in your xml template use some properties like region to distinguish. then use taxonmies and classify the news based upon the region.
THen for each region you will get differnt folder automatically in root->taxonimies->yout taxonomy
USe that path in you KM navigational iviews for each region.
Hope that helps you.
Raghu
you need follow the next steps.
- Create a metadata property used for your classification ("Language" i suppose). Configurate it with the default allow values and insert a Combo in your XML Form from this property.
- Create a index for the KM Folder that you stored the xml files with the service Search and Classification (system administration > System Configuration > K.M. > Index Administration
- After create the index go to edit it and define one taxonomy for each language that you have defined. And configurate it how Query-Based and Automatic Classification.
- Go to Content Management > Classification > Taxonomies > Taxonomies Query Builder and make a query/filter for each taxonomy using the property metadadta you has created.
- Now if you do all good when you create a document in the KM folder of the index automatically was be stored too in the taxonomy configured for the language selected in XML Form.
With all configured at this form you only need to make a iview for each language using the correct taxonomy folder and one iview for all content using the km folder you stored the documents.
I hope you understand all and get it.
PD: Sorry for my english
the third option is as difficult as the second: do you need to create a own development ..
For the second option do you need to read and investigate about the document that BP puts in his message. Is not very difficult, but do you need to investigate and learn.
For the third option is similar... do you need to create a JSPDynPage or WebDynPro component with Sap NetWeaver Developer and use the KM libs to develope the methods that you will need to get the iresource list. For more info do you can see the javadoc for km: http://help.sap.com/javadocs/NW04S/current/km/index.html
Hi BP,
thanks for this blog.
I am trying to implement your code in my repository service. After I have imported some packages I reduced the reported errors.
But the object logger does not exist. Can you please explain me where and how I have to create this object?
Kind Regards
Philipp
Edited by: Philipp Mink on May 26, 2009 9:28 AM
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.