Hoppa till huvudinnehållet

Workflow Designer: InvokeMethod

Kommentarer

2 kommentarer

  • Permanently deleted user

    Hi to all

    since we are all 6 months older now, did anyone have any thoughts on this question?

    • Where would I put such code
    • do I need to Import it into the Workflow?

    The example that I have is that I would like to report back to the user via an Alert all of the attributes of a Graphic.

    The code that I would use is along the lines of the following block of code found at:help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Graphic~Attributes.html

          Dim myStringBuilderDisplayText As New Text.StringBuilder

     

          Dim allAttributes As System.Collections.Generic.IDictionary(Of String, Object) = graphicFeature.Attributes

     

          For Each oneKey As String In allAttributes.Keys

     

            Dim theValue As Object = allAttributes.Item(oneKey)

     

            myStringBuilderDisplayText.Append(oneKey + ": " + theValue.ToString + vbCrLf)

     

          Next

     

          Return myStringBuilderDisplayText.ToString

    Thanks

    Ralph Price

    0
  • Permanently deleted user

    There is documentation for this task in our new Workflow documentation, available as a pdf download under Essentials 3.6 on our support site. 

    In general, you are invoking a method of a class, so you must be able to instantiate this class in the workflow in order to call the method.

    0

Du måste logga in om du vill lämna en kommentar.