Hi Qusai,
Right click on the page you want, click inspect and then go to consol (the second tab)
and write this function
var x = mx.ui.getContentFrom().path;
var y = x.split('/');
var z = y[1].split('.');
var pageName = z[0];
then write the below it will give you the name of the page
pageName
Does CommunityCommons help with ‘GetApplicationUrl’?
You might want to look at the Client API docs at https://apidocs.rnd.mendix.com/9/client/mxui_lib_form__FormBase.html to get form Title and widget info on https://apidocs.rnd.mendix.com/9/client/mxui_widget__WidgetBase.html