Use the below sample code to register a Java Snippet that could be used to generate a CSV file for user download.Step 1: Define a Java Snippet and give it a name and write similar code as displayed below. Note: make sure to change the parameter name, Datasource name etc. based on your needs.Step 2: Define a button or link and add the below ActionLink with Link Tlken as "/hs/js/<jsName>?paramName={DatasourceName.attributeName}". With this, when the user click o... [Read More]
Java Snippet CSV Sample Code |