Question
TCS
US
Last activity: 2 Jul 2018 3:59 EDT
Issue regarding auto launch of OOTB modal dialog when user logs into portal
Hello,
I want to automatically launch a PRPC modal dialog when user logs into the portal. Below are the analysis I made to implement the same.
I checked OOTB logic present when we are launching modal using action item ‘Local Action’. I found that OOTB activity – ‘ProcessAction’ being called in background while launching local action. So I created a wrapper activity, noted down all the parameters that are being sent to ‘ProcessAction’ while launching local action, and set the same in the wrapper activity before calling ‘ProcessAction’. My plan is to invoke this wrapper activity from any pre-loading activity while launching the portal, so that the modal gets automatically invoked after logging in. But while executing the above wrapper activity, I found that despite all parameters being passed correctly, and every step of ‘ProcessAction’ getting well executed, modal dialog is not being launched. Below are the list of parameters being passed to 'ProcessAction'.
- Param.StreamType
- Param.modalStyle
- Param.IgnoreSectionSubmit
- Param.isModalFlowAction
- Param.bIsOverlay
- Param.inStandardsMode
- Param.bExcludeLegacyJS
- Param.StreamClass
- Param.ActionSection
- Param.ModalSection
- Param.bIsModal
- Param.target
- Param.NewTaskStatus
Values of above parameters passed are exactly the same as when called from action item ‘Local Action’.
Hello,
I want to automatically launch a PRPC modal dialog when user logs into the portal. Below are the analysis I made to implement the same.
I checked OOTB logic present when we are launching modal using action item ‘Local Action’. I found that OOTB activity – ‘ProcessAction’ being called in background while launching local action. So I created a wrapper activity, noted down all the parameters that are being sent to ‘ProcessAction’ while launching local action, and set the same in the wrapper activity before calling ‘ProcessAction’. My plan is to invoke this wrapper activity from any pre-loading activity while launching the portal, so that the modal gets automatically invoked after logging in. But while executing the above wrapper activity, I found that despite all parameters being passed correctly, and every step of ‘ProcessAction’ getting well executed, modal dialog is not being launched. Below are the list of parameters being passed to 'ProcessAction'.
- Param.StreamType
- Param.modalStyle
- Param.IgnoreSectionSubmit
- Param.isModalFlowAction
- Param.bIsOverlay
- Param.inStandardsMode
- Param.bExcludeLegacyJS
- Param.StreamClass
- Param.ActionSection
- Param.ModalSection
- Param.bIsModal
- Param.target
- Param.NewTaskStatus
Values of above parameters passed are exactly the same as when called from action item ‘Local Action’.
Can someone please suggest me what I am missing or any extra stuff I may need to do to achieve the task, or if there is any alternate way to achieve the same.
Thank you.
Kaushik
***Updated by moderator: Lochan to update Categories***