Include remote files using HUBL?

Hi,

Is it possible without AJAXing in to include a remote file onto your HUBL template?

e.g. in PHP we might do…

<div class="customer-logos">
 <?php echo file_get_contents('https://mywebsite.com/customer-logos.html'); ?>
</div>

This will print the contents of the `customer-logos.html` within the webpage.

Really we’re looking for a way to import certain components from our website into some HubSpot forms.

Thanks

Hey @owenmelbz

Welcome to the Community!

@stefen , @tjoyce what do you think about this?

@owenmelbz - This would be soooo helpful, especially if you would like to digest a raw json file from an external source with hubl…

I have yet to see this functionality.

@dennisedson @owenmelbz @tjoyce you can use the standard `{% include %}` function for that but it only works for hubl files. Remote files would be cool but I know that opens up some potential security issues.