GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Posts: 45
Registered: ‎02-27-2018

Hide FormAction in FormTable based on selection status

I have a FormTable with selectionmode="multiple".

I would like to show a specific action when the row is selected and another action when the row is not selected.(see the attached picture)


I tried to used the following syntax:


visible="form[SQL[select {ROW.xx}=xx  then 0 else 1 end]]"

 But I don't know how to access the value that says whether the checkbox is checked or not. Or whether that is possible.


Should I use another way?

Posts: 1,099
Registered: ‎10-18-2015

Re: Hide FormAction in FormTable based on selection status

I am not sure you can do something like that in the form configuration itself. 

You can try to get the list of selected rows using (you will get an array of IDs)



and then evaluate it in the visible property of your form action.

Stefano Turcato
Presale Engineer
Hexagon Geospatial