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
Highlighted
Visitor
Posts: 1
Registered: ‎09-23-2019

Telerik export is empty, workflow generates data

[ Edited ]

Good day, all.

 

I am having the following problem. I want to generate report to excel using telerik template. Data is successfully generated in wokflow itself, but when I am exporting to telerik - it's empty and no error.  One of the parameters is multiple selection. 

 

I am assuming something wrong with javascript.

 

I use customscript to set value for an empty fields. 

 

In attachments are code sample for Formsettings and javascript. 

 

 

Regards, Yulia.

 

 

 

 

 

Highlighted
Staff
Posts: 1,054
Registered: ‎10-18-2015

Re: Telerik export is empty, workflow generates data

hi Yulia,

 

the Javascript file in your attachment is empty and you did not post the report template file, so I'm not sure what you are doing in there.

 

Since you are using JS to generate fields I'm assuming you are using FORM placeholders in your report template. This type of placeholder works only if the value is persisted into the database. The Telerik reporting engine does not fill the values from the form itself, it does it on the server side, connecting to the database.

If you need to compute values within the form and use them in the report output, what you can do is to store those values in the session using a session trigger. Then, in your report template, you will have to use a SESSION placeholder instead of the FORM one.

 

HTH.

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial