In Suite the opportunities can be created through opportunity module create page as well as contact sub panels. I am creating a module to block the access of creating opportunities by overriding display and pre-display functions. I would like to know a way to find that from where this request is coming. From the opportunity module or contacts module(sub panel) ? SO I can process based on that result.
Thank you ! angrymob, I have found the way to differentiate the functions, By getting the return_module value. By based on the value I am blocking the access