# Sending data from search result click

**URL:** <https://forum.bubble.io/t/sending-data-from-search-result-click/271555>\
**Category:** Need help\
**Created:** [July 8, 2023, 1:39pm UTC](https://forum.bubble.io/t/sending-data-from-search-result-click/271555 "2023-07-08T13:39:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asdfdatav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/asdfdatav/32/179800_2.png) [@asdfdatav](https://forum.bubble.io/u/asdfdatav)\
**Post date:** [July 8, 2023, 1:39pm UTC](https://forum.bubble.io/t/sending-data-from-search-result-click/271555/1 "2023-07-08T13:39:32Z")

</div>

I have a search bar in the reusable element header of my page.

After a search result is clicked, I want to go to a page rendering that search result’s page. Here’s the workflow:

 ![Screenshot 2023-07-08 at 9.36.14 AM](https://us1.discourse-cdn.com/bubble/original/3X/0/3/03969c6542e59eb71277e1460c3a10d971e7ed92.png)

However when I try to add a text box to the new page to display the search result, I don’t see that search data as an option.

 ![Screenshot 2023-07-08 at 9.38.07 AM](https://us1.discourse-cdn.com/bubble/original/3X/2/1/2111c5cc26f9353dd0f5073ba01d8b5c5e3e7c12.png)

What am I missing? Or do I have to send it as a parameter in the URL??

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [July 8, 2023, 1:47pm UTC](https://forum.bubble.io/t/sending-data-from-search-result-click/271555/2 "2023-07-08T13:47:28Z")

</div>

Presumably, you haven’t set a content-type for your destination page (so you’re just dealing with text values here)…

In which case, you need to use ‘get data from page URL’ as the data source, select path as the Type (and text as the other type).

That will give you the text from the URL path

Although I’m not sure why you’re using _both_ the path AND a URL query parameter with the same value here? Is there a reason for that?

In any case (and obviously depending on exactly what yo’re trying to do), it might make more sense to ‘send’ the _actual_ ‘Company’ to the destination page (rather than just a text value from the Company datatype)…

That way it’s much easier to access the Company data on the destination page (rather than just its name)… so for that you’ll need to set the page content type to Company.

---

<div class="post-metadata">

**Author:** ![asdfdatav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/asdfdatav/32/179800_2.png) [@asdfdatav](https://forum.bubble.io/u/asdfdatav)\
**Post date:** [July 8, 2023, 1:57pm UTC](https://forum.bubble.io/t/sending-data-from-search-result-click/271555/3 "2023-07-08T13:57:34Z")

</div>

the url query parameter was me trying to send data another way!  
that works, thank you, i just had to set the destination page’s content type to company.

---

<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:** [September 16, 2023, 1:39pm UTC](https://forum.bubble.io/t/sending-data-from-search-result-click/271555/4 "2023-09-16T13:39:33Z")

</div>

Closed on September 16, 2023, 1:39pm UTC

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