Problem:  Maps and Apps Gallery is empty because the token expiring sooner than expected

相关信息
Article ID: 41134
Bug Id: N/A
Software:
ArcGIS for Local Government 10.1
Platforms: N/A

问题描述
The token generated for a Maps and Apps Gallery expires sooner than expected. TokenHelper created year-length tokens, but the tokens are expiring in weeks.



Note that this only affects the 10.1 and 10.1 SP1 releases of Maps and Apps, the version that requires the manual generation and configuration of an ArcGIS.com access token.


原因
ArcGIS.com no longer generates long-duration tokens; the maximum token duration is now two weeks.
已邀请:

EsriSupport

赞同来自:

解决方案
If using the version of the Maps and Apps Gallery that requires the token to be configured, it is recommended to convert the site to the latest version. The new version automatically generates the token as needed, which saves the maintenance chore of keeping the token up-to-date.

The latest version is available from
Esri's github site.

There are two important changes to the gallery:

1. The proxy.config file now holds the credentials to the ArcGIS.com gallery.

2. The configuration file has been converted from JSON to JavaScript; this was done so that it could be run through a validator, which is very helpful for catching typographic errors.

The gallery comes with a web page called checklist.html which is the best way to test and troubleshoot the various aspects of the configuration outside of the application itself.




    创建及修改时间
    Created: 4/30/2013

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

    要回复问题请先登录注册