Hexagon Geospatial
MENU

GeoMedia Smart Client

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 
Reply
Highlighted
Staff
Posts: 38
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?

Staff
Posts: 1,036
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)

 

IG.getItemById("FORMTABLENAME").getValue()

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

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.