# Pass a data source and parameters to a reusable element in a repeating group

**URL:** <https://forum.bubble.io/t/pass-a-data-source-and-parameters-to-a-reusable-element-in-a-repeating-group/11115>\
**Category:** Idea\
**Created:** [March 4, 2017, 6:24am UTC](https://forum.bubble.io/t/pass-a-data-source-and-parameters-to-a-reusable-element-in-a-repeating-group/11115 "2017-03-04T06:24:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![mishav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mishav/32/6420_2.png) [@mishav](https://forum.bubble.io/u/mishav)\
**Post date:** [March 6, 2017, 11:56pm UTC](https://forum.bubble.io/t/pass-a-data-source-and-parameters-to-a-reusable-element-in-a-repeating-group/11115/8 "2017-03-06T23:56:34Z")

</div>

> [@blueback09](#):
>
> Reading the URL doesn’t seem to work in a “page loaded” event in the reusable element. I don’t see it being run.

How about in a “do when condition is true, once-only” event?

> [@blueback09](#):
>
> What do you mean that a workflow in a RG cell has access to other page values? I don’t see a way to write workflows referencing values on “another” page that’s not part of the reusable element that will be in the cell.

Say for example, a RG cell contains:

- A button
- A reusable element

The button click triggers a workflow event in the context of the RG cell, so the workflow conditions and actions have access to the page of the RG, plus the contents of the cell. So a workflow action can set a custom state on the reusable element, to a value from the outer page.

Buttons can’t easily be clicked on by another workflow action, or by a changing value, unless using a javascript hack, which may be one solution.

I was suggesting look for a different element that can also trigger a workflow event. Something like an input text or a checkbox, or a new element.

> [@blueback09](#):
>
> Maybe I have to go all the way outside pages to the database. If I drop some information on the User I should be able to get to it from anywhere.

Yes a valid solution 🙂

---

_[View the full topic](https://forum.bubble.io/t/pass-a-data-source-and-parameters-to-a-reusable-element-in-a-repeating-group/11115)._
