Login    Sites MenuBlueStep

BlueStep Platform Support

RelateScript
Outline full outline 
Overview 
Data Types 
Operators 
Statements 
Functions 
Working with Relate Data 
Field Data 
Text Fields 
Memo Fields 
Date/Time Fields 
Number Fields 
Boolean Fields 
Single Select Fields 
Multiple Select Fields 
Signature Fields 
Document Fields 
clear(...) 
getContent(...) 
getDefaultPath(...) 
getThumbnailHTML(...) 
getThumbnailURL(...) 
import(...) 
move(...) 
rename(...) 
setContent(...) 
setContentFromURL(...) 
setContentType(...) 
setNotes(...) 
setVersioned(...) 
Image Transformations 
Document Permissions 
Relationship Fields 
Biometric Fields 
Password Fields 
Accessing Forms and Fields 
Special Data and Functions 
How Formulas Work 
Related Topics 

The move(...) function has two variations, not counting syntax variations.  The move(...) function changes the path, or location, of the document referenced by the document field.  The result of move(...) is a boolean value indicating whether the move was successful.

Syntax:
move( document-fieldpath )
move( document-fieldpathcreate )
document-field.move( path )
document-field.move( pathcreate )

Parameter Description
document-field The document field referencing the document which will be moved.  If the field is read-only or does not currently reference a document the function will return false.
path The path within the current record's document library where the document will be placed.  If the path specified is of an existing document, not folder, then the function will return false.  If the folder from which the document is moved is left empty after the move then the folder will automatically be deleted.
create Specifies whether the path should be created if it does not exist.  By default, create is true.  If create is false and the path does not exist, the function will return false.