HowTo:  Add HTML formatting to detailed item descriptions in Maps and Apps

相关信息
Article ID: 40333
Software:
ArcGIS for Local Government 10.0, 10.1, 10.2
Platforms: N/A

问题描述
ArcGIS for Local Government provides maps and apps that help implement GIS in a local government context, and a destination where users, partners, and the teams within Esri can collaborate.

The instructions provided describe how to add HTML formatting to detailed item descriptions in Maps and Apps.
已邀请:

EsriSupport

赞同来自:

解决方案
By design, the detailed description for an item shown in the Maps and Apps application's gallery has its HTML formatting removed. The intention is to protect the application from malformed or malintentioned HTML. One can permit HTML formatting by deleting the function call that removes the formatting.


  1. Navigate to <installation folder> Application > MapsAndApps and open mapps.html in a text editor.
  2. In the mapps.html file, delete the function call that removes the HTML formatting by changing the following line dojo.byId("detailsDialogDescription").innerHTML = textOnly(galleryItem.description); to dojo.byId("detailsDialogDescription").innerHTML = galleryItem.description;
  3. Save the changes.


其它相关参考
  1. ArcGIS for Local Government
  2. What is ArcGIS for Local Government
  3. Local Government Gallery


创建及修改时间
Created: 6/1/2012

Last Modified: 10/11/2013
原文链接
http://support.esri.com/en/kno ... 40333

要回复问题请先登录注册