RodriNS
02/25/2025, 9:11 PMCeligo AI
02/25/2025, 9:11 PMAI generated answer (using internal Slack threads):Based on the conversations, there could be several reasons why a pop-up Suitelet is opening in a new tab instead of a window, even though the code logic is there: 1. Browser Settings: The browser settings of the user might be set to block pop-ups. This is a common issue and can be resolved by changing the settings of the browser to allow pop-ups. 2. Code Execution Timing: The timing of the code execution could also be a factor. If the code that opens the window is not directly triggered by a user's action, it might be considered as a pop-up and blocked by the browser. 3. Code Complexity: If the code is too complex or takes too long to execute, it might not be considered as a direct result of a user's action, causing the browser to block the pop-up. 4. Suitelet URL Parameters: If the
ifrmcntnr
query parameter is not set to T
, the Suitelet might not open in a pop-up window.
5. DOM Manipulation: If you are trying to manipulate the DOM to remove certain elements (like the edit button or the navigation bar), it might interfere with the functionality of the Suitelet and cause it to open in a new tab instead of a pop-up window.
Please note that DOM manipulation is generally not recommended as it is not supported by NetSuite and can lead to issues with future updates or hotfixes.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
02/25/2025, 9:12 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846684694
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833498418
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827201426
Celigo AI
02/25/2025, 9:12 PM