Adobe Franklin - Third party APIs | Community
Skip to main content
New Participant
April 23, 2023
Solved

Adobe Franklin - Third party APIs

  • April 23, 2023
  • 2 replies
  • 2243 views

Is there a way to make calls to third party APIs (through ajax for example) and load the results on a page (for example in a table like display) in Adobe Franklin? Is such a thing possible?

In AEM, you'd make a new component or enhance an existing one to support this - is there any documentation in Franklin on how to achieve this?

 

Also is there a dedicated community for next gen composability?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ManviSharma

Hi,

 

Yes, it is possible to make calls to third-party APIs and load the results on a page in Adobe Franklin. The recommended approach is to use the fetch API or axios library to make AJAX requests to the third-party API, and then use JavaScript to manipulate the response and render the results on the page.

 

In Adobe Franklin, you can create a new component or enhance an existing one to support this functionality. To do this, you would typically create a new component that includes the JavaScript code to make the API call and render the results.

 

I hope this helps!

2 replies

ManviSharma
ManviSharmaAccepted solution
Employee
April 24, 2023

Hi,

 

Yes, it is possible to make calls to third-party APIs and load the results on a page in Adobe Franklin. The recommended approach is to use the fetch API or axios library to make AJAX requests to the third-party API, and then use JavaScript to manipulate the response and render the results on the page.

 

In Adobe Franklin, you can create a new component or enhance an existing one to support this functionality. To do this, you would typically create a new component that includes the JavaScript code to make the API call and render the results.

 

I hope this helps!

New Participant
July 12, 2023

Adobe Franklin Instance Experimentation :- While creating sample experiment ,  not able to see the experimentation overlay in your .hlx.page preview environment on the control page.

Let us know if anyone faced similar issue and possible resolution.

 

 

 

 

VeenaVikraman
New Participant
April 24, 2023

@jakej40603950As far as my research goes, if you need to perform a task like this in Adobe Franklin, you will have to develop a standalone project with logic to connect to an API, fetch the data, convert it into a Word document, and upload it to Google Docs.