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?


Keep up to date on this post and subscribe to comments

October 2, 2019 - 5:27am

October 2, 2019 - 8:54am
Response to MarcLasserre_GCS

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 


 Step Status Info 

 The service URL =D_LoadEnvParamREST.pxPages(BuildingsPOST).EndPointURL does not start with a protocol and hostname 

Any suggestion?


October 2, 2019 - 6:23am

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?

October 2, 2019 - 8:56am
Response to KevinZheng_GCS

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.