Question

Why Show-property can only be used for debugging

Hi,

We want to display informational message for Mashup users that trying to log by SSO with incorrect authentication header.We must stay on same url and don't have redirection .

We validate the fact to use show-property ( because it's work) but Pega help says that it's only for debugging. Do you have any informations for this information ?

We tried also to use Show-HTML but the Pega platform automatically redirect the request to her thereas we want to keep the same URL where we performed the SSO authentication

Example:

1-Trying to connect with mashup with URL https://aaa.com on our pega application

2- The authentication faile and the process passed by Show-html step

3- We got a redirection to pega platform to display html but we want to stay on http://aaa.com

Correct Answer
May 24, 2019 - 1:26pm

I think that "Show-Property" is indicated as a debugging tool primarily because it breaks the normal processing flow that would otherwise be expected.  For your use case, if it works without issue, I would say there is no problem using it.

By the way, Show-Property is a standard usage for Production activities which are called via an AJAX call and which don't have anything to return to the client for the user to see.  In that case, we usually just do a show-property of the value "good".  It gets returned to the client, but the user (for other expected reasons) does not see it.  So it is not just a debugging tool.

 

Comments

Keep up to date on this post and subscribe to comments

Pega
May 24, 2019 - 1:26pm

I think that "Show-Property" is indicated as a debugging tool primarily because it breaks the normal processing flow that would otherwise be expected.  For your use case, if it works without issue, I would say there is no problem using it.

By the way, Show-Property is a standard usage for Production activities which are called via an AJAX call and which don't have anything to return to the client for the user to see.  In that case, we usually just do a show-property of the value "good".  It gets returned to the client, but the user (for other expected reasons) does not see it.  So it is not just a debugging tool.