Discussions

Expand all | Collapse all

CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

QuickBaseCoach Dev./Training05-11-2017 19:51

Matthew Neil05-12-2017 03:58

QuickBaseCoach Dev./Training08-17-2018 14:49

  • 1.  CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 05-11-2017 18:53
    When I click the "CopyMasterDetailDetailButton" -- the detail records are copied -- then a Pop-Up appears - stating that the records where created and the Pop-up has a Button on it "Go To Record" --- Is it possible to have the "Go To Record" button --- redirect me to the record in Edit mode --- not View mode-- 


  • 2.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Top
    Contributor
    Posted 05-11-2017 19:47
    Somewhere in the code there will be a "dr&rid" see if you can change it to "er&rid


  • 3.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 05-11-2017 19:51
    Matthew, there is no dr&rid in the copy master detail button. 


  • 4.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Top
    Contributor
    Posted 05-12-2017 03:58
    Thats right, its not a good code... :(


  • 5.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 05-16-2017 19:59
    I think the redirect is happening through QB backend script, that we don't have control on! You can script the whole process in Javascript and new button and redirect to any form you want.


  • 6.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 08-14-2018 20:54
    Can someone please help with this? I swear I had it before, but I just lost my code book and I am losing my mind.

    I have my save Master/Detail button. It only copies over details. I just need it to do a save and keep working after that, instead of throwing me back to the table home page. :(

    "javascript:void(copyMasterDetailButtonHandler('&relfids=83,87&recurse=false&sourceRID=461&destrid=" & [Order ID#] & "', 'bnxxxxxt'))"


  • 7.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 08-14-2018 21:11
    Something is confusing here.  It should be importing a set of child records from your Parent Record ID# 461 (which must be some kind of order template with std line ietms) and then re-displaying the record that you are on when you pushed the button, which seems to be an Order.

    Are you saying that you are on an Order when you push the button and it sends you to a dashboard?




  • 8.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 08-16-2018 19:20
    It sends me to the home page for that table. It is like I clicked 'save and close'. 


  • 9.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 08-16-2018 20:29
    That does not make sense.  I think that you will need to either rebuild the button or put in a support ticket.


  • 10.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 08-17-2018 14:46
    Yeah, I have rebuilt it already. Thanks for confirming that I haven't gone mad. ;)


  • 11.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 08-17-2018 14:49
    Did it work when you rebuilt it?


  • 12.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 08-23-2018 23:29
    No, but now it is working. Made a ticket, but was told they couldn't help since it was Java... even though it was QB that generated the java for the button... I, I just don't know what to think about that. I questioned this, and now it seems to be working ok. Don't really know what happened. Guessing magic. 

    One other question though. So now it is good, and does a save and keep working like a good button should, but I was wondering if you knew of a script to keep it on the same tab after doing the Save and Keep Working? The place where the button is located is on the 2nd tab in a form. After clicking it it hops to the beginning of the form on the first tab. 


  • 13.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

     
    Posted 06-17-2019 23:03
    Question for you guys... here is the code of my CopyMasterDetail button. This imports the detail records that I need but... is there something I can change in the code to make this open the record in Edit instead of View?

    "javascript:void(copyMasterDetailButtonHandler('&sourceRID=34&destrid=" & [Record ID#] & "', 'bxxxxxxxx'))"


  • 14.  RE: CopyMasterDetailDetailButton Redirect to Record Form in Edit mode

    Posted 06-18-2019 00:33
    I'm pretty sure the the answer is "no".  And if you use the URL API format for the same functionality, it's also "no".