Skip to main content



OuterContext Function

Returns the value of a field within the outer context of an aggregate expression.

Syntax

Outer(field)

Returns the value of a field within the outer context of an aggregate expression.

Arguments

field Field - A field within the context outside the aggregate expression.

Remarks

  • Used to access a field outside the context of an aggregate expression, which may have the same name as a field in the context of the collection member. For example, it may be used within a Copy Collection filter expression to reference fields in the same context as the source collection.

  • May only be used from within the context of an aggregate function filter or value expression, not applicable to use as a standalone function.

Example:

Sum(Collection1, Field2, Field1 > Outer(Field1)); // returns 42