on 08-07-2008 11:16 AM
Hello,
We need to delete a file from the KM in a Web Dynpro application.
We have a file name (filename.txt) and its path (/documents/Test/), how can we completely delete the file from the KM?
Thanks,
Gil
Hi gil,
use the following code
RID pathRID = RID.getRID("/documents/Test/filename.txt");
IResourceFactory resourseFactory=ResourceFactory.getInstance();
IResource collection =resourseFactory.getResource(pathRID, resourseContext);
collection.delete();
Hope it will help you.
Regards,
P.Manivannan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
go to Sys Administration -> KM Content -> go to Particular document -> just tick the check box which doc u want delete -> go to selection -> u will find delete .
thats it ,,,
Regards ,
Venkat P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi venkata reddy,
You wrongly mentioned system admin instead of content admin
Go to Content administration not in the system administration
if u delete the file manually in the portal you can go with
go to Content administration -> KM Content -> go to Particular document -> just tick the check box which doc u want delete -> go to selection -> u will find delete .
Regards,
P.Manivannan
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.