Question
Altius Link, Inc.
JP
Last activity: 28 Jul 2022 1:26 EDT
Open Assignment with sharable Link.
We can now open Work Item like when using the "Open Work By Handle" action on Section rule with a shareable link (simple URL) by referring to the link below.
https://support.pega.com/discussion/theme-cosmos-open-work-object-full-portal-copy-sharable-link
But our customer wants to edit without pressing the "Go" button, like when using the "Open Assignment" action on Section rule.
How can we meet their requirements?
***Edited by Moderator Marije to add Capability tags***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 28 Jul 2022 1:26 EDT
Altius Link, Inc.
JP
Thank you for your advice!
By referring to and executing the provided documentation, we were able to meet the customer's request.
The following is a summary of what we have implemented.
- Override pyBlockUnregisteredRequests as below. (Change operator)
- Access with URL that includes up to the application name and login with the account that uses the user portal.
ex. https://hostname:port/prweb/PRAuth/app/appname
... If you accessed by URL without the application name, the login operation is required because the requestor will be changed.
- Open a new tab and enter a URL like the one below:
https://hostname:port/prweb/PRAuth/app/appname?pyActivity=pyMobileSnapStart&pyShowFullPortal=true&Action=openAssignment&InsHandle=ASSIGN-WORKLIST%20MYORG-APPNAME-WORK%20A-1001!INPUT_FLOW
Thank you for your advice!
By referring to and executing the provided documentation, we were able to meet the customer's request.
The following is a summary of what we have implemented.
- Override pyBlockUnregisteredRequests as below. (Change operator)
- Access with URL that includes up to the application name and login with the account that uses the user portal.
ex. https://hostname:port/prweb/PRAuth/app/appname
... If you accessed by URL without the application name, the login operation is required because the requestor will be changed.
- Open a new tab and enter a URL like the one below:
https://hostname:port/prweb/PRAuth/app/appname?pyActivity=pyMobileSnapStart&pyShowFullPortal=true&Action=openAssignment&InsHandle=ASSIGN-WORKLIST%20MYORG-APPNAME-WORK%20A-1001!INPUT_FLOW
** I prematurely said that it could have been done, but upon closer examination, the procedure was missing, and I have corrected the description. Our apologies.
IQZ Systems
US
@HirokazuA We had a scenario to open assignment directly in full screen & we used code like below
https://hostname:port/prweb/PRAuth/customsso/app/AppName_9944?pyActivity=pyMobileSnapStart&Action=openAssignment&InsHandle="+param.AssignmentHandle+"&InsClass="+param.AssignmentInsClass+"&pyShowFullPortal=true&pyPhoneNavRuleMainVisible=true"
Updated: 22 Jul 2022 1:40 EDT
Altius Link, Inc.
JP
Thank you for your reply. I implemented it as suggested, but it didn't work. The screen is distorted and I can't edit the form...
ai4process
PL
@HirokazuAUI missalligment might be caused by openning the link using developer access group.(It loads Dev Studio skin etc.) Can you please change your default access group to end-user one, logout from pega and then try again?
Altius Link, Inc.
JP
Thank you for your reply. I implemented it as suggested, but it didn't work.
This time I got 403 error.
ai4process
PL
@HirokazuAA few version ago (8.5?) pega introduced security mechanism that blocks some requests.
You can check out this documentation and adjust whens, if necessary: https://docs-previous.pega.com/security/87/verify-requests-application-layer
Accepted Solution
Updated: 28 Jul 2022 1:26 EDT
Altius Link, Inc.
JP
Thank you for your advice!
By referring to and executing the provided documentation, we were able to meet the customer's request.
The following is a summary of what we have implemented.
- Override pyBlockUnregisteredRequests as below. (Change operator)
- Access with URL that includes up to the application name and login with the account that uses the user portal.
ex. https://hostname:port/prweb/PRAuth/app/appname
... If you accessed by URL without the application name, the login operation is required because the requestor will be changed.
- Open a new tab and enter a URL like the one below:
https://hostname:port/prweb/PRAuth/app/appname?pyActivity=pyMobileSnapStart&pyShowFullPortal=true&Action=openAssignment&InsHandle=ASSIGN-WORKLIST%20MYORG-APPNAME-WORK%20A-1001!INPUT_FLOW
Thank you for your advice!
By referring to and executing the provided documentation, we were able to meet the customer's request.
The following is a summary of what we have implemented.
- Override pyBlockUnregisteredRequests as below. (Change operator)
- Access with URL that includes up to the application name and login with the account that uses the user portal.
ex. https://hostname:port/prweb/PRAuth/app/appname
... If you accessed by URL without the application name, the login operation is required because the requestor will be changed.
- Open a new tab and enter a URL like the one below:
https://hostname:port/prweb/PRAuth/app/appname?pyActivity=pyMobileSnapStart&pyShowFullPortal=true&Action=openAssignment&InsHandle=ASSIGN-WORKLIST%20MYORG-APPNAME-WORK%20A-1001!INPUT_FLOW
** I prematurely said that it could have been done, but upon closer examination, the procedure was missing, and I have corrected the description. Our apologies.