Feature Label and Decscription formatting not respected in HTML5 Viewer
When I create map details for feature layer it works fine in SL but not in HTML5 - am I missing something or is the HTML5 viewer really that lagging in terms of development?
Example:
Feature Description: {STATUS}<br/>Problem: {REQUESTTYPE}<br/>Description: {COMMENTS}<br/>Date: {REQUESTDATE}
Display in SL18:
Note
Problem: Aggressive Animal
Description: Test
Date: 2/12/2013 10:05:52 PM
Display in HTML5:
Note<br/>Problem: Aggressive Animal<br/>Description: Test<br/>Date: 1360706752000
This simply doesn't work for the HTML5 viewer I need to configure....
-
In the Tablet, Handheld and Index .js files, located inside your HTML5 viewer folder at VirtualDirectory\Resources\Config\Default
you can change the "allowUnsafeContent" : false, to "allowUnsafeContent" : true,
This did the trick for our HTML5 maps.
I think this was explained in more detail in another topic in this forum
0 -
Thanks Mick, that works well - wouldn't have found that! Still converting the date time into a serial number though > 2/13/2013 4:23:13 AM =1360695532000. Will put this on the forum as a separate incident.
Cheers!
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare