OuterContext Function (context)

  • Updated

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

Syntax

 

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

 

OuterContext(field)

 

 

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 > OuterContext(Field1)) returns 42.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.