Reporting API Documentation

ffr.FileManagementService

global with sharing class FileManagementService

The service class relating to File Management.

Date

2016

Methods

createTemporaryFileReturnDownloadUrl

global static String createTemporaryFileReturnDownloadUrl(String title, String data)

Creates a URL to the file containing the data that has been exported from within Online Inquiries.

Input Parameters

Name Type Description
title String The filename of the exported file.
data String The content of the exported file.

Return Value

This service returns a String object.

deleteOldExportDocuments

global static void deleteOldExportDocuments(Integer gracePeriodMinutes)

Deletes Salesforce documents created by exporting data from within Online Inquiries. Documents created within the grace period are not deleted.

Input Parameters

Name Type Description
gracePeriodMinutes Integer Documents created within this grace period are not deleted.
© Copyright 2009–2018 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.