Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
5 years ago

Strange Copy Master Detail Behavior

I'm having trouble with the copy master api on mobile.

Copy Master Detail API is below. Works great on desktop. But on mobile, it makes 2 copies when the URL button is pushed (I tried 'pushing the button lighter and quicker to test if i was accidentally hitting it twice. I am not).

What is strange, is if I remove the numbers of the Report Links to copy, it works just fine on mobile. Makes only one copy. See below.

var text CopyMasterDetail = URLRoot() & "db/" & Dbid() & "?a=API_CopyMasterDetail&destrid=0&sourcerid=" & ToText([Record ID#])

& "&apptoken=xxxxxxxxxxxxxxxxxxxxxxxxxx"

& "&copyfid=116"

& "&relfids=75,73,191,189,193,429"; // IF I DELETE THESE NUMBERS IT WORKS FINE

var text ReturntoFieldHome = URLRoot() & "db/bpu98ejpu?a=showpage&pageid=101";

var text LandingURL = $ReturntoFieldHome;

$CopyMasterDetail

& "&rdr=" & URLEncode($LandingURL)

------------------------------
Mike Tamoush
------------------------------
  • Sounds like buggy behavior for sure. What does Customer Care say?

    Does the other method work in Mobile.  The one where it builds a button for you from the app?

    If you have to bail on this method and the wizard won't  work, then Plan C can be to do this via an Automation.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • MichaelTamoush's avatar
      MichaelTamoush
      Qrew Captain
      Customer Care believes it is a bug. I was hoping someone could think of why the bug was happening, and that would lead to a work around. I'm not sure if the same behavior happens with the default button it can build for me. In fact, I can't remember why I am not using that method lol. There was a reason I couldn't, but I should at least try for troubleshooting purposes.

      I wonder if this can be done with pipelines??

      ------------------------------
      Mike Tamoush
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        I believe it can be done with an Automation.  We would have to work on this one on one ....

        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------