FORMULA LANGUAGE
Examples: @GetDocField
1. You have a discussion database with main topics and responses. In each response, you want to store the subject of the parent document in a field called OriginalSubject. You want OriginalSubject to change if the subject of the main topic changes, so you write this formula for it. $Ref is a special field on a response document that contains the unique ID of the parent document.
@If(@IsNewDoc; Subject; @GetDocField($Ref; "Subject"))
2. The following formula can run a scheduled agent to update the contents of a child document, based on the parent.
FIELD Project:=@GetDocField($Ref; "Project");
@All
3. The following formula runs a scheduled agent to update the contents of one document based on the content of another. The documents don't need to be parent and child. For example, these could be two parent documents or two child documents.
FIELD Body:=@GetDocField("BB791838F30B20ED852567BA0064DDAF"; "Body");
@All
See Also
@GetDocField
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary