View source: R/updateExperimentMetadata.R
| saveAcasFileToExperiment | R Documentation | 
Saves a file into a file service and saves a reference to it in the experiment
saveAcasFileToExperiment(fileStartLocation, experiment, stateType, stateKind,
  valueKind, recordedBy, lsTransaction, valueType = "fileValue",
  additionalPath = "",
  fileServiceType = racas::applicationSettings$server.service.external.file.type,
  fileService = racas::applicationSettings$server.service.external.file.service.url,
  deleteOldFile = TRUE, customSourceFileMove = NULL,
  lsServerURL = racas::applicationSettings$client.service.persistence.fullpath)
| fileStartLocation | path to file, relative from privateUploads | 
| experiment | an experiment object, must have "id" and "codeName" | 
| stateType | the stateType of save location, e.g. "metadata" | 
| stateKind | the stateKind of save location, e.g. "experiment metadata" | 
| valueKind | the valueKind, or description of the file e.g. "source file" | 
| recordedBy | username of current user | 
| lsTransaction | the id of the transaction | 
| valueType | usually fileValue, could also be inlineFileValue | 
| additionalPath | if saving to a file system and not a service, additional file organization, i.e. "analysis/final" | 
| fileServiceType | "blueimp" for internal, "custom" for custom | 
| fileService | only required if fileServiceType is "custom", path to custom file service | 
| deleteOldFile | boolean,  | 
| customSourceFileMove | function for custom moving file to server | 
| lsServerURL | the url for the roo server | 
sets the "status" value in state "analysis status" (or "dryrun
status" if dryRun == TRUE). Get the file back with
getAcasFileLink. In updateExperimentMetadata.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.