Question

4
Replies
835
Views
KAUSHIKGHSL Member since 2010 10 posts
TCS
Posted: 2 years ago
Last activity: 2 years 2 months ago
Closed

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’.

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***

Low-Code App Development User Interface
Moderation Team has archived post
Share this page LinkedIn