Aller au contenu principal

Arcade expression fails in Popup in VertiGIS Studio Web when second feature clicked

Commentaires

4 commentaires

  • Yannick Mijnheer

    Hi Egge-Jan,

    Unfortunately, we ran into similar issues. It seems to be a long-standing bug. We haven't found a real solution, but we did find a ‘work-around’ (albeit an ugly one): adding the fields with the Arcade expressions in a fieldlist within the pop-up.

    Your error message is a bit different, so not sure if this applies, but you can take a look at this previous issue: Is any on having problems with popup Arcade expression in the Web viewer? – VertiGIS Support

    0
  • Egge-Jan Pollé

    Hi Yannick Mijnheer,

    Thanks for your reply. When googling on my issue I have found the post you are referring to. But hey, that was an issue 4 years ago…

    We are using the latest and the greatest, so there was some hope that support for Arcade in the Result Details had been implemented properly by now… 

    You are right in stating that our error message is slightly different from yours. So I did not yet manage to implement the (ugly) workaround you have found. But I'll try again.

    Cheers,

    Egge-Jan 

    [viewer]: Application version: 5.33.0
    45839.286a1be6.js:2 [viewer]: VertiGIS ArcGIS-Extensions version: 48.0.2
    45839.286a1be6.js:2 [viewer]: VertiGIS Viewer-Spec version: 58.9.0
    45839.286a1be6.js:2 [viewer]: VertiGIS Studio Workflow version: 5.42.0+49
    45839.286a1be6.js:2 [viewer]: VertiGIS Studio Search version: 1.9.0
    45839.286a1be6.js:2 [viewer]: Esri ArcGIS API version: 4.31.2

    0
  • Egge-Jan Pollé

    Hi Yannick Mijnheer and - of course - the rest of the VertiGIS community,

    I have found a workaround slightly different from the solution from the band-aid provided in this post:

    In ArcGIS Pro I have extended the popup - underneath the Arcade expression - with an html table with all the relvant columns for the Arcade expression and I have set the style of this table to display:none, so it is there for VertiGIS to find all the information needed for it to execute the Arcade expression, but it remains invisible for the end user.

    Not a very convenient solution, but hey, it works… it does the job:

    <table style='display:none;'>
      <tbody>
        <tr>
          <td>Code</td><td>{GPGIDENT}</td>
        </tr>
        <tr>
          <td>Beheer</td><td>{IWS_GPGBEHER}</td>
        </tr>
        <tr>
          <td>Zomerpeil (m NAP)</td><td>{GPGZMRPL}</td>
        </tr>
        [ ... etcetera ...]
      </tbody>
    </table>

    HTH,

    Egge-Jan

     

    4
  • Yannick Mijnheer

    Egge-Jan Pollé  ohhh, that's really clever! Thanks for sharing :)

    1

Vous devez vous connecter pour laisser un commentaire.