Page 1 of 1

Problem with Atrium.closeTab API

Posted: Fri Nov 04, 2016 9:29 am
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

Re: Problem with Atrium.closeTab API

Posted: Sun Nov 06, 2016 2:03 pm
by Scott Klement
If the Atrium.launchItem() API is returning an invalid reference, that is a bug and should be reported to Profound Logic.