1 Reply Latest reply on Jan 5, 2011 11:32 AM by Joy Garon

    Dispatch and Copy/Shared

    Barry Stump

      I am not seeing this in the help or in the forum.  Is there a method using Dispatch to do a Copy/Shared for a file or files from one location in the vault to another.  I do not want duplicate files, nor do I want to simply move the files, but I want to share the files between two locations.   Asside from writing a full addin I suspect using the Dispatch Shell command there would be a way to put the code in.

        • Re: Dispatch and Copy/Shared
          Joy Garon

          Hi Barry,

           

          You cannot share a file via dispatch. (Nor can you move it - you can only Copy or Delete).

           

          Regards,

          Joy

           

          p.s. This can be done programatically via the API

           

          EdmCmd_PreShare and EdmCmd_PostShare

          A file is shared from one folder to another one.

           

          Members

          Type

          Description

          mlObjectID1

          long

          ID of file to share.

          mlObjectID2

          long

          ID of folder to share file from.

          mlObjectID3

          long

          ID of folder to share file to.

          mbsStrData1

          BSTR

          Source file path.