@grant@VA I am not sure why @baseclass.ShowLogoffTimer (it’s available) can’t be use for any customization required as per application.
Basically follow below steps:
Modify @baseclass.ShowLogoffTimer as per need in application rule-set
This activity is being referred in webwb.pega_desktop_AppControllerLite.js … in the link/button in Action tab of configuration panel, use RunScript and refer this.
@Anthony_Gourtay Thanks for the reply. No, the popup does not appear. If I’m using static content for the popup contents there is no issue. I can see the server responding with a 403 error associated with the request to call the ShowLogOffTimer activity.
@SachinA48 Yes, we are originally seeing the 403 response with this implementation of the pxSessionTimer. I had create my own modal dialog b/c the server call to run @baseclass.ShowLogoffTimer activity from the desktop_showTimeoutWarning JS function was returning 403. Also we are noticing 403 responses for some JavaScript API calls, like pega.api.ui.actions.runDataTransform. Thanks for the reply.
@grant@VA , are you hitting newer Javascript security functionality? As a quick test, set pyBlockUnregisteredRequests to false in a private checkout. If you find success, you’ll need to use encryption to your Javascript in addition to SafeURL. See pega_rules_utilities.pzEncryptURLActionString