Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
>IOL to remove formatting on the mobile version does NOT work. (as far as I've found).
This is incorrect - the IOL works perfectly on mobile but you have to make one simple change which has been discussed in prior questions. Historically the mobile version of QuickBase has not been as functional as the desktop version (but that situation is changing). And the mobile code keeps changing (for the better). But the code for the mobile version of QuickBase is different that the code for the desktop version.
The IOL technique uses a global variable named gReqAppDBID in the definiton of the [iol] user defined variable:
Below is a screenshot taken from a desktop Chrome session where a mobile device is being emulated through the dev tools.
This is incorrect - the IOL works perfectly on mobile but you have to make one simple change which has been discussed in prior questions. Historically the mobile version of QuickBase has not been as functional as the desktop version (but that situation is changing). And the mobile code keeps changing (for the better). But the code for the mobile version of QuickBase is different that the code for the desktop version.
The IOL technique uses a global variable named gReqAppDBID in the definiton of the [iol] user defined variable:
<img qbu='module' src='/i/clear2x2.gif' onload="if(typeof QBU=='undefined'){QBU={};$.getScript(gReqAppDBID+'?a=dbpage&pagename=This global variable (and most other global variables used in the desktop version) is simply not defined in the source code of the mobile version. So all you have to do to make the IOL technique work on mobile is to come up with another mechanism to supply the application dbid to the definition of the user defined variable [iol]. The easiest way to do this is to hardcode it as follows (shown using the application dbid bnj4r6xbk):
<img qbu='module' src='/i/clear2x2.gif' onload="if(typeof QBU=='undefined'){QBU={};$.getScript('bnj4r6xbk?a=dbpage&pagename=Yes you might technically loose the "portability" of the application as this definition of the [iol] user defined variable will need to be modified if the application is copied. But global variables are certainly going away as QuickBase modernizes the product (which they are doing with the mobile version).
Below is a screenshot taken from a desktop Chrome session where a mobile device is being emulated through the dev tools.
_anomDiebolt_
8 years agoQrew Elite
FWIW, this definition of [iol] user defined variable will restore the portability of the application by deriving the dbid from the URL path:
<img qbu='module' src='/i/clear2x2.gif' onload="if(typeof QBU=='undefined'){QBU={};$.getScript(document.location.pathname.substr(4)+'?a=dbpage&pagename=It works because a code page can in fact be referenced by either the dbid of the application or the dbid of any table in the application.