cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting and downloading a number of documents

Former Member
0 Kudos

Hi folks,

We have lots of users who have the portal role u201CBusiness Intelligenceu201D. They usually have many documents in the irfolder u201CPersonal Bex Documentsu201D.

Now we have the following requirements:

- If users want to delete documents they can only delete them one by one at the moment. Is there a chance that users can mark all the documents they want to delete and then delete them by one click (something like u201Cdelete marked documentsu201D).

- Can users mark more than one document and download all the marked documents to their personal hard disk (something like u201Cdownload marked documentsu201D)

Thanks for your help!

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Just mount the folder using WebDAV, and then delete/copy using Windows Explorer.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Julian,

thanks for your great help. WebDAV works fine. I can copy and delete files.

However, when I double-click on a document (.pdf), the document is not opened correcty. I get "There was an error opening this document. Pathname is invalid". When I enter tha path in the address line of Windows Explorer, the document is opened correctly though.What's the reason for this behaviour?

Thank you very much in advance!

Thomas

Former Member
0 Kudos

Very hard to say without an HTTP trace.

Does this only occur on double-clicking (which WebDAV client?), or does it also happen when you first copy it to the local machine and only then open it?

Former Member
0 Kudos

When I copy to the local machine, I can open the document without any problems. I can also open the document when I attach the document-name (as in its properties) to the url in the address line.

Former Member
0 Kudos

Again: which WebDAV client?

Former Member
0 Kudos

Hi,

I thought about the following: Creating an iview based on the already exisiting iview AdminContent. However, the user should only be able see his own personal documents. Then I would also have the mass delete option BP has mentioned. How can I create such an iView? And is it possible to restrict the iView so that users can only see their personal documents?

To achieve the mass downloading requirement I though about creating a custom UI command "mass_download", similar to the mass_delete command. Is that possible? Where can I get the coding for mass_delete (JavaClass com.sapportals.wcm.rendering.uicommand.cm.UIMassDeleteCommand). It might be very helpful when creating the mass_download command.

Thanks in advance for your help!

Thomas

stephen_spalding
Contributor
0 Kudos

Hi Thomas,

You might consider using Portal Drive to accomplish your goals:

https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2541

Thanks!

-StephenS

Former Member
0 Kudos

Hey Thomas

Refer first code for retrieval of all files for deletion..

[https://www.sdn.sap.com/irj/sdn/thread?messageID=5903223#5903223]

Thanks....

former_member188556
Active Contributor
0 Kudos

Hi Thomas,

There is a standard way of deleting KM Folders/Documents by select

multiple items and delete. U can use the selection boxes and in the

Selection menu u can click the delete link.

But download in that way, i dont think there is a standard way.

U may have to configure ur layout if u dont see the selection menu or

check boxes

Regards

BP

Former Member
0 Kudos

Hii Thomas ,

Use this thread:

https://www.sdn.sap.com/irj/sdn/thread?threadID=53098

Thanks;

Rewards r welcome