Zum Hauptinhalt gehen

Is any on having problems with popup Arcade expression in the Web viewer?

Kommentare

8 Kommentare

  • Stefan Schweigert

    Hi Frank,

     

    A few questions to help narrow down the issue:

    1. Are there any errors displayed within the browser console when you click on another feature?
    2. Are there any related records being reference in the Arcade script?
    3. Are you able to provide a link for us to debug this issue?

     

    Thanks, Stefan

    0
  • Frank Martin

    Hi Stefan,

     

    1. Yes, I found some errors. When the second feature is selected, the feature fields used in the expression can no longer be found. Also, the web viewer stopped displaying the TextFormatting.NewLine Arcade constant.
    2. There are no related records, however the feature is joined to a geotable. The map service was created using Pro (where the join was created), then published to an ArcGIS Server, and then the map service is used in the web map.
    3. Here's the web viewer url: https://orbtest.wilco.org/Geocortex/WebViewer/?app=a08374f92cb643c085e699847542eb7d

    DeputyErrorsLet me know if you need any additional information.

     

    Thanks,

    Frank

    0
  • Stefan Schweigert

    Hi Frank,

     

    There are a few different scenarios that might cause this value to be displayed based on your data configuration but since it returns correctly the first time, its likely there's an issue in the product that we'll look further into. The URL that you've provided fails to load for me; could you take a look?

     

    Thanks, Stefan

    0
  • Frank Martin

    Hi Stefan,

     

    I'm sorry the we viewer isn't loading. That is the correct URL. https://orbtest.wilco.org/Geocortex/WebViewer/?app=a08374f92cb643c085e699847542eb7d

    Not sure what's going on there.

     

    I've been working with Amanda, and she found that if the fields are shown in the popup/map tip results the Arcade expressions will work. However, that isn't desirable. The web viewer is currently configured that way to test the workaround. There has been a bug #47109 filed as well.

     

    Thanks,

    Frank

    0
  • Yannick Mijnheer

    3 years later, but we are running into the exact same issue unfortunately; as soon as you add Arcade expressions in a WebMap, only a part of the fields is shown in the Web viewer. Adding a field list in the pop-up seems to be a solution, but it is not preferable.

    2
  • Matt Mclean

    This does really seem like a bug in VSW. I wonder if it is trying to short circuit loading only columns that are to be displayed, and check the fields list and text objects, but not arcade expressions to know what to load. 

    So far the best Band-Aid I have found is to use a text element setting the font size to 1 and colour to pure white, IE the HTML inside the text portion looks like this. 

    <p>
       <span style="color:#FFFFFF;font-size:1px;">{AREA_calc}; {LegalPlanID}; {DistrictLotID}; {ParcelID}; {BlockID}; {LotID}; {FreeLegal}; {ShortLegal}; {CivicAddress}; {Zoning}; {Year1}; {Year1_value}; {Year1_value_land}; {Year1_value_buildings}; {Year2}; {Year2_value}; {Year1_value_land}; {Year1_value_buildings}; {Encumbrance}; {Year2_value_buildings}; {Year2_value_land}; {Year3}; {Year3_value}; {Year3_value_land}; {Year3_value_buildings}&nbsp;</span>
    </p>

    1
  • Egge-Jan Pollé

    FYI

    You may also have a look at the related discussion here: Arcade expression fails in Popup in VertiGIS Studio Web when second feature clicked – VertiGIS Support

    0
  • Erwin van der Bij

    Is there already a solution to this problem?

    0

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