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
#825086
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: https://wiki.processmaker.com/3.2/Links ... n_Triggers
Reportes en JasperReports

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

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

SOAP-ERROR: Parsing WSDL

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

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