Call of a GP-Tool as an integrated editing application
The custom tool pub\custom_pages\extapp_gp_tool.jsp can be used to call a GP tool as an integrated editing application. The call is made via the synservice API.
All fields of the created object can be passed to the GP tool, including the OBJECTID, which is created while the editing action for the new feature.
The GP tool must be added as a tool in the project and an external tool ID must be defined.
The following three variables in the jsp file must be filled mandatory:
gpExtToolID > the external tool ID of the GP tool
gpValueParamNames -> The names of key fields configured in the integrated editing application
gpInputParamName -> The names of the input fields configured in the GP tool
gpValueParamNames and gpInputParamName must be configured in the same associated order! |