Problem with Atrium.closeTab API

Use this board to ask questions or have discussions with other Atrium users.
Post Reply
chs
Profound User
Posts: 53
Joined: Tue Jan 27, 2015 8:13 am
First Name: Christoph
Last Name: Seitz
Company Name: Waser + Co. AG
Phone: +41 44 94 74 341
Address 1: Erlenwiesenstrasse 2
City: Volketswil
State / Province: Outside Canada/USA
Zip / Postal Code: 8604
Country: Switzerland
Contact:

Problem with Atrium.closeTab API

Post by chs »

Hi everyone,

We are using the Atrium.launchItem API to open a rich program as follows:

var refTab = Atrium.launchItem(1712);

This works fine.

A minute later the user clicks on a link to close the program. Now we would like to close the opened rich program with the Atrium.closeTab API as follows:

Atrium.closeTab(refTab);

Unfortunately, the rich program is not closing and it seems like the Atrium.launchItem API has not returned a valid value.

Can you tell me how this process works and what we have to change in our process or code to be able to close the opened program?

Thank you very much in advance.

Christoph
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Problem with Atrium.closeTab API

Post by Scott Klement »

If the Atrium.launchItem() API is returning an invalid reference, that is a bug and should be reported to Profound Logic.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest