Hoppa till huvudinnehållet

"[WF: activity error] Cannot read property 'OBJECTID' of undefined"

Kommentarer

5 kommentarer

  • Sean McClurkan

    Well, I've gotten past the OBJECTID error, and the Show Results is showing results - sort of. The activity returns two features with the configured collection name, servide id and layer id, but the displayed Results List isn't getting this information. The Layer Display Name comes across as garbage text (e.g. XazyAthF, etc.) and the result details are empty.

    See attached images.

    0
  • Stefan Schweigert

    Hi Sean,

     

    Check out this section of the GXWF docs: https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/visualization.htm#show-results-in-gvh

     

    You will want to configure the display formatting of the results within the workflow to suit your application's needs.

     

    Thanks, Stefan

    0
  • Sean McClurkan
    I’m configuring the workflow to use the layer configuration in my application. It finds that configuration and I can see the correct values in my console, but the Results List in the viewer doesn’t seem to be getting these values from the Show Results activity. Is the fact that these features are created in the workflow, rather than being queried form a layer, affecting the Show Results ability to “see” them correctly? Is it possible to malform a feature when creating them on-the-fly?
    0
  • Stefan Schweigert

    Hi Sean,

     

    You are correct. Since the results are not originating from a service currently on the site, they aren't directly tied with most of the functionality within the Results view.

     

    Thanks, Stefan

    0
  • Sean McClurkan
    So how exactly am I to make use of the Create Feature and Create Featureset activities? Is there a secret sauce that will allow me to see these features in my application? The instructions in the documentation for using the Show Results inputs don’t work for hand knit features, either.
    0

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