Soe-rest development in the Java environment 4 (several issues needing attention in the attribute page design of ArcGIS Server Manager)

Source: Internet
Author: User

In ArcGIS Server manger, the attributes of SOE extension may not all be text. Sometimes we may need some selection boxes, drop-down boxes, etc. In this case, we need to customize the attribute pages, soe is already very comprehensive in the attribute page design help manual of ArcGIS Server Manager. Here we only introduce several issues that need attention. The property page design is mainly completed by a widgets designed by dojo JavaScript and an attribute page integration.

1)The dojo widget must be named config. js. Other names are used and cannot be obtained on the custom properties page.

All widgets in this file must be "ArcGIS. Soe. <fully qualified SOE Name>" as its namespace.

The format is as follows.

Dojo. Provide ("ArcGIS. Soe. arcgissamples. Soe. serverobjectext. config ");

 

Dojo. Require ("dijit. Form. Select ");

Dojo. Require ("dijit. _ templated ");

 

Dojo. Require ("ESRI. Discovery. dijit. Services. _ customsoeconfigurationpane ");

 

Dojo. Declare ("ArcGIS. Soe. arcgissamples. Soe. serverobjectext. config", [ESRI. Discovery. dijit. Services. _ customsoeconfigurationpane, dijit. _ templated], {

......

2) the dojo script must undergo script format verification. An incorrect format will cause deployment exceptions. As follows:

......

Widgetsintemplate: True,

Typename: serverobjectext,

_ Capabilities: NULL,

......

If the tyname variable value is not enclosed in quotation marks, soe exception is thrown.

3)LayoutHtmlFile, defined hereDojo widgetThe corresponding control layout and naming are consistent.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.