<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Access HubDB in ReactJS module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/893492#M37119</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/614966"&gt;@AMorina&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; It's a great question and definitely an interesting challenge to do without access to serverless functions. My gut says some middleware will be needed. And let's ask some of our brilliant community members for their thoughts — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/152964"&gt;@nikodev&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/193060"&gt;@JBeatty&lt;/a&gt;&amp;nbsp;what you say to a client in this situation?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much! — Jaycee&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 21:15:33 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-12-13T21:15:33Z</dc:date>
    <item>
      <title>Access HubDB in ReactJS module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/892869#M37087</link>
      <description>&lt;P&gt;Hi Devs. We have stored some data in HubDB. I wanted to access those data and use them in a ReactJs Module for Hubspot, since I need to implement some complex logic there. Unfortunately, we are running on professional license and we don't have access to serverless functions to achieve this, given that sls functions are only available for Enterprise. Can someone help me regarding this?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 22:42:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/892869#M37087</guid>
      <dc:creator>AMorina</dc:creator>
      <dc:date>2023-12-12T22:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Access HubDB in ReactJS module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/893492#M37119</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/614966"&gt;@AMorina&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; It's a great question and definitely an interesting challenge to do without access to serverless functions. My gut says some middleware will be needed. And let's ask some of our brilliant community members for their thoughts — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/152964"&gt;@nikodev&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/193060"&gt;@JBeatty&lt;/a&gt;&amp;nbsp;what you say to a client in this situation?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much! — Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 21:15:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/893492#M37119</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-12-13T21:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Access HubDB in ReactJS module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/893541#M37123</link>
      <description>&lt;P&gt;Hey there -&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;is right, if you need to access it via API. You'll have to use one of the numerous serverless services in order to do so. I've used &lt;A href="https://www.cyclic.sh/" target="_blank"&gt;Cyclic&lt;/A&gt; in the past, when I wanted to get something up and running quickly. Easy to set up, performance is up to par, cost effective.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There's also AWS Lambda, Azure, Google App Engine, Heroku - there are lots of em.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However - HubSpot's modules have hubdb fields. Depending on the specifics at play here, you could use those fields to make the query in your module.html file, perhaps with the help of one of the hubl &lt;A href="https://developers.hubspot.com/docs/cms/hubl/functions" target="_blank"&gt;hubdb functions&lt;/A&gt;&amp;nbsp; and pass the data to your Component files as parameters. You could then do whatever you need to do with it there. If you can't just retrieve the data in bulk, or if the table that needs to be queried is going to differ based on some kind of user action on the front end...this avenue may not be the way.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 23:12:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/893541#M37123</guid>
      <dc:creator>nikodev</dc:creator>
      <dc:date>2023-12-13T23:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Access HubDB in ReactJS module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/893686#M37125</link>
      <description>&lt;P&gt;Thank you very much, I will try and use hubdb functions just to access the data and I'll try and grab them in my react app. Thanks again, this was very helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 07:57:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Access-HubDB-in-ReactJS-module/m-p/893686#M37125</guid>
      <dc:creator>AMorina</dc:creator>
      <dc:date>2023-12-14T07:57:02Z</dc:date>
    </item>
  </channel>
</rss>

