
Announcements
Hello, I have a table of cars and I am using custom javascript for a portal web page. I want to be able to get my cars table and siplay everything in there right now, or maybe a specific column later on. I know that there should be some sort of an api but I am a little lost on what to use and what it would look like. Do I use axios, fetchxml, or something else?
Hi @JeffHam,
You can use the portals web api to query records. You can use standard jquery/ajax calls as shown in the example here.
If you want to use 3rd party libraries like axios or something else, you would need to create a Web File and attach the .js file as a note. Here is a post that provides the steps to do so.
---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.