Zum Hauptinhalt gehen

Would a data link fix UNIX timestamp in MapTip issue?

Kommentare

3 Kommentare

  • Permanently deleted user

    Hi Emily, 

     

    I would expect that you could likely construct a workaround using a data link.  I tested on my end and found that I was able to use a data link's replacement token for a date field and get a plain text date like this in the viewer:

     

    Tue Oct 24 2017 00:00:00 GMT-0700 (Pacific Daylight Time)

     

    Since data links will let you write your own SQL statement (the "advanced" cog icon when viewing your data links in Manager), you could probably also select a string version of the date field if you wanted more control over its formatting.

     

    I think the only issue would be if the data links were slow to resolve.  The viewer will show you your feature details or map tips without waiting for the associated data link requests to finish, so if those requests are slow then the feature details could be written and viewed before the linked data is available. 

     

    Hope that helps,

     

    -Amanda
    0
  • Ahmed Al Ani
    Dear Amanda,

     

    Thank you for the tip, I use data links and show it in the map tip from long time but I notice for the new essensials version, the map tip not show the datalink information, is there a workround for that (Feature details could be written and viewed before the linked data is available)
    0
  • Permanently deleted user
    Hi Ahmed, 

     

    We've had others report this issue as well with 2.12 and 2.12.1.  It's being tracked as BUG 30624, and we're targeting a fix for it in the next HTML5 viewer release.  Unfortunately we don't have any workarounds to provide, it will need a fix in the viewer code. 
    0

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