1 Reply Latest reply on Nov 28, 2012 10:05 AM by tkincher

    repository.checkInPackage

    mitch_reid

      I'm having trouble with the syntax for repository.checkInPackage. Has anyone used this ?

       

      I downloaded an SDAT and would like to check it in. The help says the syntax as: repository.checkInPackage packageLocation branch [option] [force]

       

      So to check in sdat6909.exe which is in the c:\sdat folder what would the command be?

       

      /remote/repository.checkInPackage c:\sdat\dat6909.exe evaluation ?

       

       

        • 1. Re: repository.checkInPackage
          tkincher

          Any parameter requiring a file name uses the file:///c:\path\to\file formatused in URLs. For the branch, you can specify any of "current", "previous", or "evaluation" (not case-sensitive).

           

          Note that this particular command does not accept multi-part content from HTTP POST requests so if you are accessing this through a web browser this will not work. You will need to use a scripting language (e.g. Python) to use this in that capacity. The ability for this command to be augmented to accept multi-part content is something that's in our backlog for future enhancements.

           

          Regards,

          Travis