_capabilities: null
In ArgGIS for Server 10.1, Manager automatically generates a default "property page" for our SOE properties. This is great! However when I:
- activate the SOE for some service;
- fill in values of the SOE properties;
- Save & Restart the service; and then
- come back to view/edit that service's SOE properties,
I would expect/wish to see the current values in the controls.
This is not the case, it rather takes the default values (on each time) regardless of the current values. This is frustrating for administrators as they can't see if the values are properly set, neither can they just see what the current values are.
If somebody from ESRI believes it is a bug (or a worth while improvement), please log it as such. I'm now looking for a workaround.
I tried to achieve my goal with a custom property page for manager. I created one following the SDK provided sample and it is working but behaves like the default one in terms of controls' initialization. I could not find documentation, or samples further than that sample.
Before we migrate to 10.1, we used a custom property page (in ArcGIS 10) with C# (server-side) code to fetch the current values and properly initialize the controls. But manager is now, HTML and JavaScript (dojo). Any ideas on how initialize the textboxes with their current property values?
[/HR]
Capabilities/Allowed Operations
In addition, the Capabilities section is gone when implementing a custom property page. In the SDK sample, "Config.js" has a variable_capabilities: null
What value should this variable have in order to re-introduce the capabilities? I tried a string like "GetInfo,ShowMetadata" (which are the names of my capabilities) and still I got nothing.
Hi Omar,
A custom property page does not have capabilities. Only map services and SOEs have capabilities.
The capabilities member you see in the Dojo widget is there for internal purposes and should be ignored.
Sorry for the confusion.
Thanks!
Ajit
Hello Omar,
Are you able to get Capabilities (Operations) with Custom Property page in Manager.
Even I am facing same issue now, Please let me know if you got solution.
And one more question is if not possible with custom property page, how they are handling with KML extension with both operations and Property page?
Thank you,
Regards,
Phanindra
Hi Phanindra, If you have the ArcObject.NET SDK install in your machine, you can check the folder C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\Samples\ArcObjectsNet There are couple of samples show how to use .NET to interact with SOE with Capabilities and Properties. Best Regards, Nathan