moveFileToExperimentFolder | R Documentation |
Moves a file to the location for files and saves a reference to that location in the experiment
moveFileToExperimentFolder(fileStartLocation, experiment, recordedBy,
lsTransaction,
fileServiceType = racas::applicationSettings$server.service.external.file.type,
fileService = racas::applicationSettings$server.service.external.file.service.url,
deleteOldFile = TRUE)
fileStartLocation |
Path to location to find the source file, relative from working directory |
experiment |
experiment object to save file to |
recordedBy |
username of person saving |
lsTransaction |
integer of transaction |
fileServiceType |
"blueimp" or "custom" |
fileService |
url path to custom file service (will be passed to customSourceFileMove, which should be defined in customFunctions) |
Mostly deprecated in favor of
saveAcasFileToExperiment
, where the fileStartLocation is
relative from privateUploads. In fileRead.R.
New file location (or code)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.