Adobe Franklin - Third party APIs | Community
Skip to main content
Level 5
Apr 23, 2023 6:21 PM UTC
Solved

Adobe Franklin - Third party APIs

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.
ManviSharma
ManviSharmaAccepted solution
Employee
Apr 24, 2023 6:13 PM UTC

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!

3 replies

ManviSharma
ManviSharmaAccepted solution
Employee
Apr 24, 2023 6:13 PM UTC

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!

Translate
New Participant
Jul 12, 2023 7:34 AM UTC

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.

 

 

 

 

Translate
VeenaVikraman
New Participant
Apr 24, 2023 8:00 AM UTC

@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.

Translate