Zum Hauptinhalt gehen

Why can't I use Show Results in webappbuilder on a self created FeatureSet

Kommentare

4 Kommentare

  • Stefan Schweigert

    Hi Erik,

     

    I'm not able to load your workflow but there are differences in how the Show Results uses the Map Service Id, Layer Id, and Layer Name inputs. Take a look at the GW5 - Show Results sample workflow. In order for the layer to be highlighted in WAB, use the Layer Name input and make sure that the spatial reference from the previous query matches the map's spatial reference.

     

    Note that our next release will contain detailed information about how to properly configure the Show Results activity in both applications.

     

    Thanks, Stefan

    0
  • Erik Kuipers

    Stefan,

     

    I shared the wf. The problem is that I cannot provide a MapServiceId, LayerId because the data is comming from a webservice(Gp tool) and has no corresponding layer/featureclass in a arcgis rest endpoint or webapp. When I query a existing mapservice it is no problem but I create a featureset from scratch (with or without geometry). Then you get an error. You can check the wf now so I'm curious what the reason is.

    0
  • Permanently deleted user

    Hi Erik,

     

    Thanks for raising the issue and providing the workflow. It looks like there is a bug with Show Results in WAB where it does not work when fields aren't defined on the featureset. This means that Show Results also fails when you try to use a Graphic[] or Graphic for the Features property. I believe that this was working in some previous versions, as we had addressed a similar issue with using a Graphic[] object in the past.

     

    I found that applying a fields property to your manually created featureset, and then using =$featureSet1.featureSet instead of =$featureSet1.featureSet.features worked as a workaround. I've attached my test modified from your workflow, and we'll bring this up with our developers.

    0
  • Permanently deleted user

    Just thought I'd follow up to note that the issue should be fixed now. It's listed on the release notes for 5.5.1 under "issues" as 17974

    https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/release-notes.htm

    0

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