CMS Development

tmcmillan99
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Suggestions on how to handle software/file downloads

SOLVE

We are in the process of migrating a client to Hubspot and looking for suggestions on how to handle their file downloads. On their current site, users can drill down to various content and downloads depending on the topic/software. This functionality is through their current CRM. We need to replicate that. 

 

Hubspot Files is not the right facility so we are assuming they will use something like OneDrive, Dropbox, etc. to store the folder structure and files. We are hoping some of you have tackled this type of scenario.  Not sure if we do a custom module to access the external data or if we need to use HubDB to store the file links. The HubDB option would require a manual update if new folders/files are added on the external source. Ideally, the process needs to be more automated. 

We also need to consider future functionality such as the client's customers only being able to access software downloads they are authorized for. 

 

Any suggestions would be greatly appreciated.

Thanks,

Terry McMillan

0 Upvotes
2 Accepted solutions
webdew
Solution
Guide | Platinum Partner
Guide | Platinum Partner

Suggestions on how to handle software/file downloads

SOLVE

Hi @tmcmillan99

You have to download all things to your local and then transfer it to that required portal for more details please look at this article.

Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regard.

View solution in original post

0 Upvotes
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Suggestions on how to handle software/file downloads

SOLVE

Hey @tmcmillan99 

 

Its possible to use HubDB and the groupby filter to simulate the behavior of a nest structure.

HubDB:

KevinC_0-1642133033332.png

Code:

 

 

<ul>
{% for group in hubdb_table_rows(5319199)|groupby('folder') %}
    <li>{{ group.list[0].name }}
      <ul>
        {% for content in group.list %}
          <li>{{ content.name }}</li>
        {% endfor %}
      </ul>
    </li>
{% endfor %}
</ul>

 

 

Output:

KevinC_1-1642133138853.png

 

I didn't try it but I bet it wuoldn't be too much more work to have subfolders too.

View solution in original post

3 Replies 3
tmcmillan99
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Suggestions on how to handle software/file downloads

SOLVE

@Kevin-C 

Thanks for the suggestion! We are still exploring options but this could possibly work even if we just used the links to the files in a 3rd party cloud storage.

Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Suggestions on how to handle software/file downloads

SOLVE

Hey @tmcmillan99 

 

Its possible to use HubDB and the groupby filter to simulate the behavior of a nest structure.

HubDB:

KevinC_0-1642133033332.png

Code:

 

 

<ul>
{% for group in hubdb_table_rows(5319199)|groupby('folder') %}
    <li>{{ group.list[0].name }}
      <ul>
        {% for content in group.list %}
          <li>{{ content.name }}</li>
        {% endfor %}
      </ul>
    </li>
{% endfor %}
</ul>

 

 

Output:

KevinC_1-1642133138853.png

 

I didn't try it but I bet it wuoldn't be too much more work to have subfolders too.

webdew
Solution
Guide | Platinum Partner
Guide | Platinum Partner

Suggestions on how to handle software/file downloads

SOLVE

Hi @tmcmillan99

You have to download all things to your local and then transfer it to that required portal for more details please look at this article.

Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regard.

0 Upvotes