Forum Discussion

joelcresswell's avatar
joelcresswell
Active Contributor
7 years ago

Managing script repo

Hello   I'm just looking for a bit of advice regarding maintaining a script repository. I notice when i look at an exported XML backup of a script collection it has a couple of ways to specify a pa...
  • joelcresswell's avatar
    joelcresswell
    7 years ago

    Ok cool i've figured this out. 

     

    A valid entry for pulling a script file is as follows:

     

    <?xml version="1.0" encoding="utf-8"?>
    <scripts version="3.0">
      <script id="7238">
        <name>Test</name>
        <storageid></storageid>
        <path>http://webserver.com/test.bat</path>
        <description></description>
        <ostype>0</ostype>
        <locationtype>1</locationtype>
        <autostartorder></autostartorder>
      </script>
    <scripts>

    The location type seems to need to be 1. Leaving script ID empty i was still able to import.