monica
Thanks, unfortunately it didn't work
archives_access_rule = {
# what types of records does this rule apply to?
table = ca_objects,
restrictToTypes = [series,items],
# mode determines handling of existing values in target element
# can be overwrite, or addIfEmpty
# See the 'target' setting below and http://docs.collectiveaccess.org/wiki/Prepopulate
mode = overwrite,
# Set which events this run runs on here. Values can be "edit" and/or "save".
# This will override prepopulate_fields_on_save and prepopulate_fields_on_edit.
# Omit this to use prepopulate_fields_on_edit and prepopulate_fields_on_edit values.
useFor = [edit],
# What's the prepopulate target?
# This can be an intrinsic field, labels or an attribute.
#
# Note that if you want to target a List attribute, you have to
# provide a valid list item idno or id for that list as value!
#
# See http://docs.collectiveaccess.org/wiki/Prepopulate
target = ca_objects.original_storage_list,
# skip this rule if expression returns true
# available variable names are bundle names
#skipIfExpression = ^ca_objects.open_closed_access !~ /closed/,
# content to prepopulate
# (this is a display template evaluated against the current record)
template = ^ca_objects.parent.original_storage_list
}
# -------------------