Question
External REST Connection
Good afternoon, I've been researching REST connections for the last week and I'm still not sure the correct way to implement my use case.
Please allow me to explain:
The REST Endpoint I am trying to use requires two parameters:
https://www.examplesite.com/v1/{parameter1}/{parameter2}
The response returns around 10 elements in JSON format.
In a case, I would like a user to be able to type the two parameters in separate text boxes. Then I want them to click a "run" labeled button and then have the 10 elements display underneath on the same page in boxes.
I've gotten the Connector to work, however, I've had no luck with Data Pages/Activities. I would like to know the best way to go about this in as much detail as possible. Any examples are appreciated.
Hi Ryan,
Once the UI design is complete and the space for displaying the returned JSON is configured, you can follow these steps:
1. On click of RUN button in your case you can invoke an Activity, which in turn calls a DataPage which invokes the REST connector with the required parameters.
2. Once the response is loaded into the Clipboard, you can convert the Clipboard Datapage property into JSON String and display it into the text area.