Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Posts: 58
Registered: ‎01-14-2016

Custom Feature Info command returns an error

[ Edited ]



We created a custom command - a button in GUI Geospatial Portal 16.5.

When a user selects a feature on a map and activates this command, it returns a recordset from SAP for the selected feature.

In most cases, it works.


But sometimes the request to the properties of the selected feature on a map returns an error:





500 (MapServiceNotFoundException)


The screenshot is attached.


Part of our script:


${preventDefaults: true}, function (result) { });



Could anyone assist us to resolve this issue? The question is rather urgent and boring. 



Many thanks,


Technical Evangelist
Posts: 1,407
Registered: ‎09-11-2015

Re: Custom Feature Info command returns an error

Hi Kirill,


It could be that the session expired and then Portal couldn't find the supplied MapServiceId. DEBUG Portal log could help investigating the issue - try to find the failed request there and what preceded it.



Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial