Call function from other app

Call function from other app

Hi,

I have a simple function defined in order to debug why our functions do not work..

void Testfunction()
{
    openUrl("http://www.url.com", "Same window");
}



This is called in an app report as custom action and works well. 
In an other app we show the report in a page, but then the function does not work and just spins forever?