AnsweredAssumed Answered

sddraft issue

Question asked by earaujo88 on Oct 4, 2017

Hello,

 

We are trying to automate some publishing tasks. We have to publish most of the time Map and Feature services in ArcGIS Server. Our idea is to make two sddraft templates. One with our settings for services that just has the mapping capability and another one that has both map and feature access capabilities. We generated the sddraft through the Service Editor wizard in ArcMAP. In a high level overview the script will follow this workflow:

 

1 - Open a MXD;

2 - Change some definition queries;

3 - Save a MXD;

4 - Open the sddratf template and change only tags and item descripiton;

5 - Save the new sddraft;

6 - Stage and upload the sd file.

 

Our concern is regarding some ID tags that we have found on sddraft.

Would be nice to publish the services using the same ID, since we are using a sddraft as template?

Does this ID make a difference during the publishing process?

is there a sddraft specification?

 

below the ID tags:

<Resources xsi:type="typens:ArrayOfSVCResource">
      <SVCResource xsi:type="typens:SVCResource">
         <ID>{CB7BEA19-B535-4659-9AE5-0CCFADF16FE2}</ID>

<ID>{52CC5E93-B11D-43B5-A61D-935B8BA75D70}</ID>

<Configurations xsi:type="typens:ArrayOfSVCConfiguration">
      <SVCConfiguration xsi:type="typens:SVCConfiguration">
         <ID>D8EE224F-2F37-465D-B16D-E394F4D57C7E</ID>

Outcomes