# Data Search Constraints In Focus Group

**URL:** <https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435>\
**Category:** Need help\
**Created:** [March 13, 2023, 10:26am UTC](https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435 "2023-03-13T10:26:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mellis](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mellis](https://forum.bubble.io/u/mellis)\
**Post date:** [March 13, 2023, 10:26am UTC](https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435/1 "2023-03-13T10:26:17Z")

</div>

I have created a custom drop down as per the Buildcamp demo here.

https://www.youtube.com/embed/6UglOTY2b00?feature=oembed&wmode=opaque&list=LL&start=433

My use case is slightly different in that my users will select a drop down of Accounts which they hold… its working well, but **showing the entire lists worth of Accounts rather than the Accounts held under the current users Accounts (list type) to choose from. What do I need to change?**

I’m using dynamic text in the repeating group “Current cell’s Team’s Account Name”… I think I need to add a constraint somewhere to link to the user only.

Any help appreciated please!

Michael

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [March 13, 2023, 10:38am UTC](https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435/2 "2023-03-13T10:38:04Z")

</div>

Hi there, @mellis… what is the data source of the repeating group? It sounds like it needs to be `Current User's Accounts`. If that’s not what it is, try changing it to that and see if you get the desired result.

It also sounds like you could add a privacy rule on the `Account` data type that is something like when `Current User's Accounts contains This Account`, allow the account to be found in searches and allow its fields to be viewed.

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![mellis](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mellis](https://forum.bubble.io/u/mellis)\
**Post date:** [March 13, 2023, 11:40am UTC](https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435/3 "2023-03-13T11:40:05Z")

</div>

Thanks for your reply.

I am getting an error (showing red) in Data Source when I select Current User’s Account it wants me to continue choosing from a new list including :count, contains, doesn’t contain, :first item etc.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [March 13, 2023, 11:41am UTC](https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435/4 "2023-03-13T11:41:40Z")

</div>

Screenshots would help. What is the type of content of the repeating group?

---

<div class="post-metadata">

**Author:** ![mellis](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mellis](https://forum.bubble.io/u/mellis)\
**Post date:** [March 13, 2023, 11:59am UTC](https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435/5 "2023-03-13T11:59:23Z")

</div>

Well in retracing my steps to share them with you I have identified the problem.

There was a repeating group within the group focus which I hadn’t drilled down in to, to set the data type.

Thanks for your help, not sure I’d have got to the answer without your engagement.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 22, 2023, 10:27am UTC](https://forum.bubble.io/t/data-search-constraints-in-focus-group/251435/6 "2023-05-22T10:27:07Z")

</div>

Closed on May 22, 2023, 10:27am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
