lib/admin/appforms/submissions.js
function getSubmissionPDF(params, cb) {
  var resourcePath = config.addURIParams(constants.FORMS_BASE_PATH + "/submissions/:id/exportpdf", params);
  var method = "POST";

  params.resourcePath = resourcePath;
  params.method = method;
  params.data = params.data || {};

  params.fileRequest = true;

  mbaasRequest.admin(params, cb);
}
function getSubmissionPDF(params, cb) {
  var resourcePath = config.addURIParams(constants.FORMS_BASE_PATH + "/submissions/:id/exportpdf", params);
  var method = "POST";

  params.resourcePath = resourcePath;
  params.method = method;
  params.data = params.data || {};

  params.fileRequest = true;

  mbaasRequest.admin(params, cb);
}
function getSubmissionPDF ( params , cb ) { var resourcePath = config . addURIParams ( constants . FORMS_BASE_PATH + "/submissions/:id/exportpdf" , params ) ; var method = "POST" ; params . resourcePath = resourcePath ; params . method = method ; params . data = params . data || { } ; params . fileRequest = true ; mbaasRequest . admin ( params , cb ) ; }
Getting A PDF Of A Submission
@param params
@param params.data
@param params.data.coreLocation - The host name of the domain accessing the PDF.
@param cb
Getting A PDF Of A Submission