Got it. Makes sense! I believe that the context.expression
should affect both the available forms on the People tab and on the Reports tab.
For now, is there a way to access previous report data within that context.expression?
The recommended mechanism for doing something like this is really to just include the data you need in your contact-summary (which, as you noted, is accessible from the content.expression
). This thread has a pretty good walk-though of what this config can look at, but I think the workflow would be something like:
- Update the contact-summary configuration to set a consent field based on the contact’s consent status.
- For the relevant forms, update the
content.expression
to check for that consent field in thesummary
.