Question
Cognizant
ES
Last activity: 15 Dec 2019 17:44 EST
How to set dynamic URL in Pega 8.2 for connect-REST rule?
How to configure a dynamic URL in Pega 8.2 for connect-REST rule?
I have tried to configure dynamic the resource path by using a data page similar to the approach that could be implemented for v7.3 (PFA snapshot), but it is not working.
Currently it is needed to configure dynamic Base URL and Resource Path.
Could someone support me?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
FR
Hello,
Are you talking about EndPoint URL? Is it not working?
Cognizant
ES
Thanks for your reply Marc,
I am following that approach, however it is not working. This approach was working in previous versions, for example Pega 7.3, but trying to do the same in Pega 8.2 with new URL configuration it is not possible.
This is the error message that I got:
Step Status |
FAIL |
Step Status Info |
The service URL =D_LoadEnvParamREST.pxPages(BuildingsPOST).EndPointURL does not start with a protocol and hostname |
Any suggestion?
Pegasystems Inc.
US
Please look into the referenced data page on the clipboard to see the values of the EndPointURL. Is it valid? If the data page is loaded during server startup, maybe try the node restart to see if that fixes the issue. Otherwise, reload the datapage, does it make any difference?
Cognizant
ES
Thanks for your reply Kevin,
Data Page is working fine. The issue is in the new URL configuration.
Please take a look on my previous answer.
Louis Dreyfus Company
FR
Did you find a way to fix that in 8.2?
Cognizant
ES
No for v8.2 but as this issue is fixed in 8.3 Pega support suggested to upgrade to this version.
Louis Dreyfus Company
FR
In 8.3 they introduced the Application Settings to replace GRS but it's different, it's a kind of DSS for Application.
In 8.2.2 I was able to make it work by replacing the url by a parameter, and in the Map from key set the Datapage.
For example :
Resource path : {Domain}
Parameter :
Param Name: Domain
Map From : Clipboard
Map from key : D_MySettingsPage.MyPage.pyEndpointUrl