What program is the current rich display based on?
Posted: Wed Jul 29, 2015 8:11 pm
Dealertrack has javascript being called from pui.onload and pui.onsubmit in custom.js that needs to know if the current screen is the application menu driver program. I refer to this as the current program. Our application is essentially a single page web app. The initial screen (menu driver) displayed to the user allows them to choose which application functionality to run. After selecting a specific application function the browser tab text changes to display the screen header text so the user knows where they are at in the application by just looking at the browser tab or by moving the mouse over a tab. The requirement for loading text into the document.title changes when the application menu driver screen is the current screen/program.
Thus the reason to know how to access the name of the current program or display file. I have tried to figure out where the jason value for screen.file format name ends up in the generated html and have not been successful. Our app has no standard name for a label with the display file or program name. I was hopeful that the API currentFormatNames would define the current screen that would allow me to derive the current program, but I have not figured out the correct syntax for that (I have posted a seperate question for that).
Thus the reason to know how to access the name of the current program or display file. I have tried to figure out where the jason value for screen.file format name ends up in the generated html and have not been successful. Our app has no standard name for a label with the display file or program name. I was hopeful that the API currentFormatNames would define the current screen that would allow me to derive the current program, but I have not figured out the correct syntax for that (I have posted a seperate question for that).