Skip to main content
Question

Save and Scooby Doo on Mobile?

  • August 6, 2019
  • 0 replies
  • 72 views

SASD is an incredibly helpful technique for desktop programs when you want to save and keep working, but it seems to stop at the "Save and Close" desktop button. On mobile, both the "Save" and "Save & New" buttons don't respond, and I'm at a loss as to how to rewrite the script. Anyone have any clues? If you need the source to look at, Dan Diebolt put it here.
This topic has been closed for replies.

I don't recall if the SASD technique uses global variables like the normal IOL technique... older version of the app variables use QB global variables which the mobile version doesn't have... it's an easy change though.

So what would you propose?

I have been using global variables for the surrounding image tag for iol per Dan's method (i.e. [iol] & "saveandscoobydoo.js" & [/iol]), but even switching out global variables for text just gives the exact same result. 


For the iol variable... just need to update to:


<img qbu='module' src='/i/clear2x2.gif' onload="if(typeof QBU=='undefined'){QBU={};$.getScript(document.location.pathname.substr(4)+'?a=dbpage&pagename=

mainly there's a variable at the $.getScript(

just change that variable to document.location.pathname.substr(4) and it should work on mobile.

Still only seems to kick in on desktop. Is there something else I need to change?

  • Registered
  • August 14, 2019
Hey, I just thought I'd add that I'm also running into this issue. My script works on desktop, but doesn't work on mobile. For reference, I tried running Dan's example on mobile, and it also doesn't work there.

Dan's example: https://haversineconsulting.quickbase.com/db/bkjdxnw2x?a=nwr