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.