Hi Nandu,
Please check the following topic (https://forum.mendix.com/link/questions/8865) where Eric explained how this can be done.
With kind regards,
Bryan de Wit