Exciting changes are coming as we upgrade our community website. You may notice a fresh new look and some differences in how things work. We will post more details soon and can’t wait to welcome you to our improved space!

Forum Discussion

joelcresswell's avatar
joelcresswell
Active Contributor
8 years ago
Solved

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
    8 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.