Passing Data from Client Script to Data Script in Frappe Builder

Hi everyone,

I’m working with Frappe Builder and trying to create a dynamic dashboard page that loads employee-specific data. I am able to fetch the encrypted employee_id from URL, decrypt it using the Client Script. However, I want to pass this value into the Data Script, so that server-side processing (e.g. fetching documents, other data) can happen based on this value.

I’m unable to pass dynamic values from JS directly into the data script. Is there any recommended way to pass client-side values to the Data Script in Frappe Builder?

Looking forward to ideas or suggestions from the community!
Thanks