Edit WebSubmit Function

Main Menu

Enter Function Details:

Move_CKEditor_Files_to_Storage Function Details:
   
Function Name: Move_CKEditor_Files_to_Storage
Function Description:
Function Documentation:
Moves the files uploaded via the CKEditor that are linked to
the given field. Replace these links with URLs 'local' to the
record (recid/files/).

When attaching a file, the editor post the file to a temporary
drop box accessible via a URL for previews. We want to fetch
these files (via FFT) to integrate them to the record, and change
the links in the record to point to the integrated files.

The function *MUST* be run BEFORE the record has been created
(with Make_Record.py or Make_Modify_Record.py).

You *HAVE* to include the created FFT field (output of this
function) in your BibConvert template.

Parameters:

input_fields - *str* a comma separated list of file names that
               should be processed by this element. Eg:
               'ABSE,ABSF' in order to process values of the
               English and French abstracts
 

Parameters for Function Move_CKEditor_Files_to_Storage:

Parameter  
None

Add Parameter to Function Move_CKEditor_Files_to_Storage:
Add Parameter: Select a parameter to add to function:    -Or-  Enter a new parameter: