Zum Hauptinhalt gehen

A workflow to auto refresh layers

Kommentare

3 Kommentare

  • Permanently deleted user

    Is it just a While activity with Condition = True and RefreshMap activity with your map service Id (btw is the map service id the number??)??

    How do you get such a workflow to start up automatically when your map starts?

    0
  • Ryan Cooney

    Hi Peter, 

    That workflow sounds correct. Yes, the map service id is the number. 

    To have a workflow run on startup you'll need to open your Viewer.Defaults.xml and add a RunAtStartup element to the Workflow module.

        <Workflow>

     

          <Configuration>

     

           ...

     

            <RunAtStartup>

     

              <Workflow Id="YourWorkflowId" />

     

            </RunAtStartup>

     

            ...

     

          </Configuration>

     

        </Workflow>

    --Ryan

    0
  • Permanently deleted user
    Would you please provide the sample workflow for the autorefresh map? Thanks!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.