cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How to check if mashup is opened as popup?

Markus_Neini
8-Gravel

How to check if mashup is opened as popup?

Hey,
im currently working on TWX  9.4.1-b313.

I was wondering, if there is a way to check if the current mashup is opened as popup/modal popup?

 

Thanks in advance 

Markus

 

1 ACCEPTED SOLUTION

Accepted Solutions
wcui
14-Alexandrite
(To:Markus_Neini)

Hi @Markus_Neini 

I am afraid there is no such functionality for Mashup to tell if it is opened as popup or not.

But you can refer to below article, add a Mashup parameter and let caller set this parameter when opening mashup as popup.

https://www.ptc.com/en/support/article/CS401845

 

We are also interested in the reason of your request. Please share the background so we may find other possible workarounds. Thanks.

View solution in original post

2 REPLIES 2
wcui
14-Alexandrite
(To:Markus_Neini)

Hi @Markus_Neini 

I am afraid there is no such functionality for Mashup to tell if it is opened as popup or not.

But you can refer to below article, add a Mashup parameter and let caller set this parameter when opening mashup as popup.

https://www.ptc.com/en/support/article/CS401845

 

We are also interested in the reason of your request. Please share the background so we may find other possible workarounds. Thanks.

Hi,


I'm currently creating a mashup that can be opened as a new page or popup window. The mashup behaves differently depending on the window type. A back/close button should either close the window or return to a home page.

I'm currently working with a self-created mashup parameter "IsPopup" (Bool) and just wanted to find out whether there might be an official way to achieve this.

I did not find anything about it in my research. T _ T

 

Best regards

Markus

Top Tags