APIs & Integrations

Chander
Member

Having issue while implement resources page design

Hi,

I want to create resource page where all the landing page are list up. But i am unable to fetch all the landing pages. Please help me how can do this job.

Here is the page URL
https://www.fly.biz/resources

In the right section you will seen the landing pages listing. and on the left hand side that was landing pages filter option.

0 Upvotes
3 Replies 3
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Having issue while implement resources page design

Hi @Chander,

The Pages API doesn't allow for CORS AJAX requests, since doing so would expose your authentication details to the client. You'll need to make your requests server side instead.

0 Upvotes
Chander
Member

Having issue while implement resources page design

Yes, But my Pages API is not working on website. it is showing this error.
" Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. "

0 Upvotes
LPM
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Having issue while implement resources page design

As far as I know, this can only be achieved via API right?

You can get list of pages then print them out according to the subcategory property.

However, I’m not sure if there’s a way to do it via Hubl.

For mine, I’ve used the list.js to list a set of data I put into an excel sheet that I update whenever there’s a new resource available. You can filter by category or content using the plugin.

0 Upvotes