Aller au contenu principal

Can Arcade expressions configured in an ArcGIS Online web map pop-up display in Geocortex Web map-tips?

Commentaires

21 commentaires

  • Cam Barnard

    Hi James - just a note to say we've added a task to dig into this for you and figure out what is going one. We will let you know what we discover.

    0
  • Pairin Mason

    Hi James,

    After a bit of investigation, it does look like an issue on our end. I filed a ticket for our developer's eyes.

    Thank you for sharing your feedback.

     

    Kind Regards,

    Pairin

    0
  • Cam Barnard

    For those following this thread. All synchronous arcade expressions are working well in Geocortex Web now ... and we've just begun working on ways to allow asynchronous arcade expressions to work as well (should be completed in time for 5.12).

    0
  • Frank Martin

    Are the Arcade expression the ArcGIS Online web map pop-up configuration synchronous or asynchronous?

     

    0
  • Frank Martin

    Arcade expression label errorHere is the error I'm getting.

     

    0
  • Pairin Mason

    Hi Frank,

     

    That's likely an asynchronous Arcade you got there. Is it possible for you to share the webmap?

     

    Cheers,

    Pairin

    0
  • Frank Martin

    Here you go. https://arcg.is/v0Kz4 Let me know if this doesn't work for you.

     

    Thanks,

    Frank

    0
  • Pairin Mason

    Hi Frank,

    Thank you for sharing the webmap.

    With the same layer as your screenshot (i.e. Districts), I cannot reproduce the issue. I'm using latest GXW 5.11.

    CaptureHowever, I ran into #INVALID issue with Incorporated City layer on the 2nd time identify (issue didn't appear at 1st identify). I'll have our team to investigate on this.

     

    Kind Regards,

    Pairin

     

    0
  • Cam Barnard

    There was a bug in 5.5 that caused this to happen that was resolved in 5.6

    "Fix to our Arcade expression evaluator so that Arcade-derived values no longer show as #INVALID [38607]."

    0
  • Frank Martin

    Yes, it started working for me as well after I closed out of the Web Designer and AGOL web map for the day and reopened everything the next day. Seems there was a disconnect between the AGOL web map and the designer if you make to many changes to the popup configuration. Just my experience.

     

    A question about Arcade expression evaluation. District popup now contain and expression using the AGOL Arcade constant, TextFormatting.NewLine. We use the newline to create a "list". The newline is not being expressed in the Web Designer.

     

    AGOL web map popup:

    AGOL PopupWeb Designer:

    WebDesigner 

    Also, is there a way to create the "popup" or "map tip" the Web Designer?

     

    Thanks,

    Frank

    0
  • Cam Barnard

    One final note here - @Frank Martin? the 'flow' of making updates in your webmap and then getting caught because those changes aren't yet re-loaded or represented in the live preview in Web Designer is something that is in the works. In short we are going to have a quick way to 're-fetch' all map/scene data into the preview that will look something like this:

     

    reload webmapThis then allows that rapid iteration of making a change in the webmap and then easily refreshing the preview to view it much more intuitive.

     

    This catches us sometimes too when we are tweaking pop-up config, or symbology and forget that Designer doesn't know the webmap has been updated.

    0
  • Frank Martin

    Thanks, Cam. That will be a great help.

     

    I have another issue with displaying AGOL web map pop-ups in Geocortex Web. I changed the pop-up configuration in the AGOL web map Pop-ups using the Custom attribute Display (see below), however the values for field tokens configured using this method aren't being displayed in the Web viewer. The literal field tokens are displayed.. :-(

     

    AGOL:

    customAttr 

    Geocortex Web:

    Custom 

    I'm having trouble figuring out how to make a "list" view in the results of the Web

    map.

     

    Thanks,

    Frank

     

    0
  • Pairin Mason

    Hi Frank,

    The issue around TextFormatting.NewLine is fixed as part of the new support for Async Arcade. You can see the fix in the next 5.12 release.

     

    The issue around Custom attribute Display/field tokens, I filed a ticket for our dev to take a look further [45110].

     

    Kind Regards,

    Pairin

     

    0
  • Frank Martin

    HI Pairin,

     

    Sounds great! Thanks for your help with this... I'm looking forward to the 5.12 release.

     

    Thanks again,

    Frank

    0
  • Alex St. John

    Hi all,

    I am having the same issue with the latest 5.11 release. I waited over night, but am still getting this error.

    Is there a way to manually enable Async Arcade?

     

    Async Arcade error

    0
  • Alex St. John

    Sorry for the redundancy,

    @Cam Barnard? and @Pairin Mason? , but I forgot to tag in the first message!

    0
  • Pairin Mason

    Hi Alex,

     

    The support for Async Arcade in Web will be part of the next 5.12 release.

     

    Kind Regards,

    Pairin

    0
  • Nelson Dobbs

    @Cam Barnard? or @Pairin Mason? 

    Are there any plans to incorporate this in to Mobile/GO?

     

    I know there may be an issue in an offline environment but just curious if there are plans while users are connected to display Arcade Expressions in Pop ups in Mobile.

     

    Thank you!

    Nelson Dobbs

    0
  • Cam Barnard

    @Nelson Dobbs? Good question. We've been regularly 'lobbying' Esri to expose the Arcade 'engine' as part of the JS API and the Runtime API. Based on the most recent road ahead JS presentation it looks like it is in the works for JS API. I haven't heard anything recently about the Runtime API. It is ultimately dependent on being able to 'evaluate' the Arcade expression and ideally we don't want to write our own code to do that :)

    0
  • Nelson Dobbs

    @Cam Barnard? 

    Awesome! Thank you for the update!

    0
  • Nico Burgerhart

    I think this was never released?

     

    1

Vous devez vous connecter pour laisser un commentaire.