Zum Hauptinhalt gehen

Featureset from Buffer and fields from datalink

Kommentare

3 Kommentare

  • Permanently deleted user

    No thoughts/ideas on this one from anyone?

    Hopefully I have worded my issue correctly.

    I was hoping it would be an easy answer.  I was presuming that lots of people would have run into this same issue (accessing fields from a datalink).

    Thanks!

    0
  • Permanently deleted user

    Hi Bret,

    The data link results are collected by the viewer at display time and won't be available to a Query Task.  The Query Task only gets data from ArcGIS Server, not from Essentials, so adding "datalink.field" to the out fields will not work.

    There are Sql Query activities that you can use to make a new connection to your database from workflow.  This activity returns a DataTable.

    The Merge DataTable activity should help you push the data from the SQL query into the featureset (you'll have to use Featureset to DataTable first to get a merge target).  That's for one-to-one data links.  For one-to-many, add the resulting DataTable to a DataSet and use the DataSet to XLS activity to generate your Excel document.

    Regards,

    -Malcolm

    0
  • Permanently deleted user

    Thanks for the response Malcolm.

    I will try this on a future workflow.  I ended up just doing the join at the ArcGIS level, and published the service with the database connection and extra fields at that point.

    Cheers!

    0

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