Skip to Content

Deleting the Downloaded File in Work Manager Solution

Hi Experts,

In the standard Work Manager 6.2, The Workorder Object has DocumentLinks Collection (Collection of DocumentMetaData Object), When the Push is enabled, By standard behaviour the initial Workorder fetch will only fetch the Workorder Object and its Child Object properties. Clicking on a DocumentMetaData will trigger a Push and sends a Download request to the back end. When download happens, the downloaded file is placed in the Documentlinks Object which is under Main Object. The physical file is stored in a absolute path in the computer's storage.

My question is, functionally the Attachment is assigned to the Workorder, Currently in the standard Work manager 6.2 while discarding a Workorder doesnt actually clear off the downloaded objects which are there in the DocumentLinks Object under Main Object. Isn't it functionally incorrect?

Also Will a delete transaction to DocumentLinks Object (under MainObject) deletes the physically stored file in the storage?

Regards

Madan KM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 22, 2016 at 02:51 PM

    Hi Madan,

    There is an option in External Data Property where you set how you want to deal with the file when the object is deleted.

    Did you try setting the When Object is Deleted to Always delete file?

    Regards,

    SAP Mobility Support Team


    removeFile.PNG (186.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.