Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By amosbatto
HeshanKaru1994 wrote: Fri Jun 21, 2019 5:58 am Can we not use the file and set the generated csv to a link
The code example I gave you explains how to get the URL. Use this code:
Code: Select all
 	//If needing to get URL to download CSV file:	
	@@csvFileUrl = ($g->is_https() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] .
          '/sys' . @@SYS_SYS . '/en/neoclassic/cases/cases_ShowDocument?a=' . @@fileId;
	@@csvFilename = pathinfo($filePath, PATHINFO_BASENAME);
Then add a link field to the Dynaform whose "href" property is set to: @@csvFileUrl
and whose "display text" property is set to: @@csvFilename
See: ... n_Triggers
Reportes en JasperReports

Continuando sobre este mismo post... ¿C&oa[…]

He estado tratando tod el fin de semana de como po[…]


Hi Satya, I had same problem awhile back and reso[…]

Hi everyone, I want to create multiple workspaces[…]