Professional Documents
Culture Documents
Access KM Files From Ear File in NW 7.31 - SAP Blogs
Access KM Files From Ear File in NW 7.31 - SAP Blogs
31 | SAP Blogs
Products
Products Industries
Industries Services and Support
Services Support Training
Training Community
Community Developer
Developer
Partner
Partner About
About
Ask a Question Write a Blog Post Login
Former Member
February 7, 2014 4 minute read
In this blog describes the issues faced while accessing KM les from ear le (iView in portal) in NW 7.31
Prerequisites
You have created a ear le project in NWDS and need to access KM les or folders
Issues faced
By default NWDS is not having KM related dependencies , you need to download below two SCA les from Service market
place relevant to your server version.
Then import these sca les into NWDS from development infrastructure perspective.
Next step is in development infrastructure perspective click in KMC-CM SCA le-> in Component properties-> overview tab-
>Archive store ->select the downloaded SCA le and upload.
Right click ear le project->Properties->Java build path->Add external Jars then select KM API from
“LocalDevelopment\KMC- CM\sap.com\tc\km\frwk\_comp\gen\default\public\api\lib\java”
Next is the important step in ear project-> dist-> portal-INF->portalapp.xml->Application Tab->SharingReference -> add this
value “com.sap.km.application” . Now you can access KM related classes in ear le.
Below code is an example to access les from a KM folder and lists users having access to le.
https://blogs.sap.com/2014/02/07/access-km-files-from-ear-file-in-nw-731/ 2/4
4/2/2019 Access KM files from ear file in NW 7.31 | SAP Blogs
}
}
regards,
Rakesh Mathew
Alert Moderator
Assigned tags
SAP Enterprise Portal | SAP NetWeaver | km | Portal And Collaboration | sap netweaver |
Related Questions
https://blogs.sap.com/2014/02/07/access-km-files-from-ear-file-in-nw-731/ 3/4
4/2/2019 Access KM files from ear file in NW 7.31 | SAP Blogs
2 Comments
Former Member
Wanted to know can we develop Portal Components reading KM data with out NWDI. Your thoughts please.
Like (0)
Former Member
I am also in search of a custom par application that fetches the data from a KM folder and displays the content
as links in portal. Can you let me know how to achieve this.
Thanks,
Krishna
Like (0)
Sitemap Newsletter
https://blogs.sap.com/2014/02/07/access-km-files-from-ear-file-in-nw-731/ 4/4