IPopFlowRequest

This object must to be passed as the request object for the pop operation Publish API to open any page.

Functions

setOpenPageInNewBrowserTab

This function is used to set whether page need to open in new browser tab or not.

The following example shows the syntax:
setOpenPageInNewBrowserTab(openInNewTab: boolean): void;

The following table shows the parameter:

Parameters

Parameter Name Required? Description
openInNewTab No Set to True to open the page in new browser tab and False to open in same tab. The default value is False.

setInputParameters

Function to set input parameters to the opening page.

The following example shows the syntax:
 setInputParameters(parameters: any): void;

The following table shows the parameter:

Parameters

Parameter Name Required? Description
parameters No You can use any object to set input parameter to opening a page. For appUI pages you can use the mobile number of the opening page or contactId to open a page. For an SR page, it can be {view:’detail’} to see the edit page directly and {view:’foldout’} to see the default foldout view. For IPopFlowGenericRequest, It can be {answerId: "10006003"} to open the article page of Id 10006003.