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 
Reply
Technical Evangelist
Posts: 64
Registered: ‎04-12-2016
Accepted Solution

Passing form field information to a script

Hi,

 

I'm trying to call a function form a workflow list, but I'm only having success with that when I use fields that are visible in the list for the user.

The problem is that I need to use information from other fields/columns, that should not be visible to the user. I have them with the parameter visible equals to 'hidden', and i was expecting that top work that way. Is this assumption incorrect? Is there any other way or workaround to do it?

 

Thanks in advance,

 

NA

Contributor
Posts: 63
Registered: ‎02-22-2016

Re: Passing form field information to a script

Just an Idea, I'm not sure if this works. Make

formField visible="list.."

and when

IG.on('Form:Ready'){ grab the value ; make it hidden.;}.

Staff
Posts: 1,037
Registered: ‎10-18-2015

Re: Passing form field information to a script

[ Edited ]

Hi guys,

 

as Vipanth was suggesting, you can also hide the columns implementing the customListColumnTemplate like here:

 

IG.customListColumnTemplate = function () {
	var columnsWithoutId = IG.getDefaultListColumnTemplate();
	return IG.util.table.excludeColumns(columnsWithoutId, ['Column1', 'Column2', 'Column3']);
};

HTH,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Technical Evangelist
Posts: 64
Registered: ‎04-12-2016

Re: Passing form field information to a script

Hi,

 

Thank you both, it solved my problem.

 

BRs