Problem with Atrium.closeTab API
Posted: Fri Nov 04, 2016 9:29 am
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
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