Altiris Software Dev Kit (ASDK)

 View Only
  • 1.  Create and configure new Site with ASDK/API

    Posted Oct 13, 2017 01:23 AM

    Hi all,

    Is there a function in the ASDK or API to create and configure Sites (names, subnets, etc) and assign/configure Site Servers for that site? I've gone through the documentation and the API and can't find any reference to it.



  • 2.  RE: Create and configure new Site with ASDK/API

    Trusted Advisor
    Posted Oct 13, 2017 11:02 AM

    Hi,

    As the Site and Subnet are just normal Altiris resources, I believe you could use the Resource Model Service to update these. 

    This can be found at:  http://localhost/altiris/nswebservice/resourcemodel.asmx

    Thanks



  • 3.  RE: Create and configure new Site with ASDK/API

    Posted Oct 16, 2017 07:35 PM

    Thanks for that. I will take a look.



  • 4.  RE: Create and configure new Site with ASDK/API

    Posted Oct 16, 2017 09:37 PM

    Update:

    1. There's a feature in Workflow I can use. This is (hopefully) a one-off function, so I'll do that instead.

    2. Your link says localhost, but the URL actually points to a Sharepoint site. (Thought you might like to edit/delete that reference.)



  • 5.  RE: Create and configure new Site with ASDK/API

    Posted Oct 17, 2017 07:29 AM

    Hi,

    You use "Create Resource for SMP" and choose the Resource Type "Site" to create the site.

    Once you have created the site you should be able to "Create Resource Association for SMP" to assing subnet to the same.

    Stefan



  • 6.  RE: Create and configure new Site with ASDK/API

    Trusted Advisor
    Posted Oct 17, 2017 09:07 AM

    Thanks for letting me know about the incorrect link.

    If you've resolved this yourself, feel free to mark your comment as the solution.

    Thanks!