Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
MSoft
IN
Last activity: 13 Mar 2018 6:44 EDT
REST Connect JSON Array to be shown under Section DropDown
I have configured a REST Connect for type GET (Only Retrival of data ) .
In turn PRPC has generated a DataPage , Integration Layer , Connector .
The Response from the Service is a JSON Array as shown below
["Local","UAT","DEV","PROD","SDD"]
In my Work class , I have Configured a Section With a DropDown (Environments is the property name under work class),
i need to show these values under it
I have attached my My DataPage Screen Shot .
Please let me know how to approach this to show the values under the Section ?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
Hi Ravi,
May i know what is the mapTo configuration of your REST connector response?
If it is mapTo="JSON" type then it will return the Page List of SingleValue-Text, so that you can use this as the source in the UI dropdown. I guess it is mapped to Clipboard instead of JSON as per your data page output.
If it still doesn't resolve your issue then please share the complete configuration screenshots for further understanding.
Regards
Mahesh
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
MSoft
IN
Ya Mahesh , u r right , it is mapped to Clipboard initially.
Now I chnaged to JSON ? now what should be the value under the Map to key ??
attaching the screen shot for your reference
To refer to the Property under Map to key , whether this must be created under Org Level ??
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
Can you try to add the SingleValue-Text.pyValue property to this field.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
MSoft
IN
Not Sure , but i did this as per your response , but getting an error while running the DataPage (attached the screen shot)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
@Ravi, can you try to create a Page List property with Page Definition SingleValue-Text and refer this property in the Map to key field.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
MSoft
IN
Ok , so this PageList property must be created under Integration class ? Because i have got the Integration Connector under the Integration class , and the section under the Work class .
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
@Ravi, the property should be in your integration class where your connector rule is available. You can apply the response data transform in your data page and use the data page in your drop down.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-03/615458b8-2af3-48a9-8810-4548c0959c26.jpg?itok=2PqcJDca)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-03/615458b8-2af3-48a9-8810-4548c0959c26.jpg?itok=2PqcJDca)
Confidential
IN
hi Mahesh,
I have a requirement of "REST integration to retrieve textbook details with Subject
ID as parameter."
Can u please tell me how to do this?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
@prasanthkumarp6826 i don't understand your exact requirement and where you want to implement it, could you elaborate your requirement.