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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to check if mashup is opened as popup?

Markus_Neini
12-Amethyst

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

 

ACCEPTED SOLUTION

Accepted Solutions

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

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.

Markus_Neini
12-Amethyst
(To:wcui)

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

Announcements


Top Tags