Custom Form Beta - External Lookup via API | Community
Skip to main content
theffernan
Level 2
January 28, 2024
Solved

Custom Form Beta - External Lookup via API

  • January 28, 2024
  • 2 replies
  • 1204 views

Hi,

Interested in setting up a simple Proof of Concept to demonstrate the functionality of the External Lookup field.

  1. Has anybody tried this yet?
  2. Does Adobe have any sandbox resources to build a small client facing demo or are there any recommended/recognized APIs that would be suited to this task? 

Cheers!

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 lgaertner

Hi,

 

yes, it's not as complicated as it seems at first glance.

 

You will be only able to setup an external lookup field using the new (beta) form designer.

You can try using a dummy API like this:

https://dummyjson.com/products 


If you have a look at the output in your browser, you will see, that it has the following format:

 

{ "products": [ { "id": 1, "title": "iPhone 9", "description": "xyz", ... ] }

 

So, to get the titles into the new field, you have to use the following JSON path:

 

$.products[*].title

 

 

 

 

Regards

Lars

2 replies

lgaertner
lgaertnerAccepted solution
Level 9
January 29, 2024

Hi,

 

yes, it's not as complicated as it seems at first glance.

 

You will be only able to setup an external lookup field using the new (beta) form designer.

You can try using a dummy API like this:

https://dummyjson.com/products 


If you have a look at the output in your browser, you will see, that it has the following format:

 

{ "products": [ { "id": 1, "title": "iPhone 9", "description": "xyz", ... ] }

 

So, to get the titles into the new field, you have to use the following JSON path:

 

$.products[*].title

 

 

 

 

Regards

Lars

theffernan
Level 2
January 29, 2024

Lars, Thank you very much!

November 5, 2024

I have a scratch custom form and testing project with that custom form on it.  That is where I test and create proof of concept and tweak them as needed for custom forms in production.

 

One POC I am running some tests for is a sub category set of choices that are dependent on the primary category choices. I have gotten a one to one work and am now working on a multiple to multiple.