Constellation Autocomplete source from external system

Hi Team,

We have a requirement to retrieve Product list form the external source via Rest api (it returns around 500+ products), and then provide ability for the user to select one or more products from an autocomplete dropdown.

Example: Product data contains Name, Category, and Cost. Provide the user to select product name from autocomplete, once selected display name, category, and cost in a table. Provide ability for user to delete or add multiple products.

How to achieve this requirement?

I have tried Data reference pattern, but its not accepting a List type Data page.

Thanks,

Hari

@HJetti

It sounds like you are on the right track with a data reference.

When you configure a data reference in the constellation data model to pick multiple values, you should configure the field as type reference with “List of records” option. The data page that is referenced at this point is however a single page to return a single selected record.

When you add the reference field to the view in App Studio you will be give the option to select the list type data page that will source the data for the control. It sounds like you may like to check out the combo box option that will allow for multiple selections.

Configuring fields associated with Case and data objects (pega.com)

Creating fields for capturing data (pega.com)

Here is an illustration of something I have configured:

Thanks for quick reply @Marc Alderman

I have implemented this solution, when user selects planets ref need to display additional details of each planet in a table and it has an issue to display additional property details, please see attached document.

Also, Our use case is to fetch planet details from an external system via rest api call. How to achieve this requirement? Current approach only working for data source exists within Pega.

@HJetti I see that you logged support ticket INC-B14012 (Constellation Autocomplete source from external system) 5th April and that our support team are looking into this.

Search & select capabilities for data coming through integration and mapped to an abstract application data model. Data reference properties configured against the abstract data model are automatically converted into query properties, this has been taken as feedback for FDBK-103844 which is currently under review.

Currently, the workaround suggested is to have a data set with a table and then select a data from the dropdown.

Since, it may take time for the assessment of the feedback request, our support team have also advised engaging Pega Consulting in order to achieve the requirement by building a custom component.

Our support team closed the ticket and referred to Pega consulting, as this INC falls into user requirement, not a product error.

You were informed that the Consulting team will help you build this requirement.

Is this been considered for future release? We have similar requirement to select a record from a list coming through external source.

Is the custom component only solution as of now?

@MandarK96 , We have implemented a work around solution to achieve this requirement. Firstly we need to create a data type and update list data page to retrieve results from external source rather from pega source. Then update data page of type pega to select the user selected record from the list source.

@MandarK96 the custom solution is the only solution for now as enhancement requests like FDBK-103844 take time to be processed.@devap1

Please use Ask a Question if you have any follow-up questions.

@MarijeSchillernsaw this 9monh ago, was there any updte on this?

i also need this functionality

@HJetti Can you please help with sample configuration? I am not following the last line

@MaRonalynU

enhancement requests like FDBK-103844 take time to be processed.@devap1

Please contact your Pega Account Executive directly if you ever want to chase up the status of known Enhancement Requests.

Please use Ask a Question if you have any follow-up questions.