Please enable JavaScript to view this site.

Vernon CMS Help

Purpose/Function

Extract the current related Activity for an Object. The different arguments let you define what "current" means. With just the required arg2, this symbolic will display an "active" Activity that has a start date before today and an end date after today. If no Activity is found, it will display a "future" activity with a start date after today. If there are no "future" Activities, it will display a "past" Activity that has a closing date of less than 100 days before today.

You can also bring back the most current Activity with a specific general flag.

This symbolic is especially useful for the Exhibition and Loan Activities. For example, you could display the current exhibition that an object is, will be, or has been displayed in.

Argument syntax and parameters

CURRENT.ACT!arg2!arg3!arg4!arg5!arg6!arg7!arg8

arg2

Required

The System ID of the Related Activity file.

arg3

Optional

This parameter can be used to exclude records that ended more than a certain number of days ago.

arg4

Optional

The System ID of a General Flag term. If the field specified in arg5 contains this term, then this Activity record will have the highest priority.

arg5

Optional

The FMC of the field to look in for arg4. If not specified this defaults to the GENERAL_FLAG field.

arg6

Optional

The FMC of the field to use for the Start Date. For Inward and Outward Loans, the Start Date field will be used by default.

arg7

Optional

The FMC of the End Date field.  For Inward and Outward Loans, the End Date field will be used by default.

arg8

Optional

Do not show the activity if it is scheduled more than x days in advance.

Parts of the argument are delimited by an exclamation mark.