Tinderbox v11 Icon

createAlias(containerStr, originalNote)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Document configuration  [other Document configuration operators]

 String [about String data type]

 v11.5.0

 11.5.0

 As at baseline


createAlias(containerStr, nameStr)

This creates a new alias of nameStr in the designated container at path containerStr. If successful, the operator returns the path of the newly created alias. If a unique, nameStr can be a $Name but will more likely be a $Path value.

Important. Note that the alias must be created in a container other than the container that holds the original note.

Example:

var:string vNewAlias = createAlias(/path/to/Acontainer,"Foo"); 

The result is that an alias of the note 'Foo' is generated at path /path/to/Acontainer/Foo.