Discussions

 View Only
  • 1.  What does it mean "calling a code page"?

    Posted 01-15-2022 19:15
    Although you posted the JavaScript code, that is simply calling a code page

    ------------------------------
    BuildPro
    ------------------------------


  • 2.  RE: What does it mean "calling a code page"?

    Posted 01-15-2022 19:48
    If you got to settings, then pages, I think you will have a Page called 

    tools/copyParentChildren.html

    The button calls that page. The page is where the logic is performed. 


    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: What does it mean "calling a code page"?

    Posted 01-15-2022 20:53
    I only have home pages listed.

    ------------------------------
    BuildPro
    ------------------------------



  • 4.  RE: What does it mean "calling a code page"?

    Posted 01-18-2022 10:24
    In some instances if you got help creating this button and this functionality by a developer or another admin the code page doesn't have to be stored in that same app. It could be calling it from another application if you don't see it anywhere in your list of pages in your app settings depending on what the code looks like. In the button it would usually indicate where the code page was being called from if it wasn't simply pulling from the same app. It might be something you need to touch base with other admins to see if they have more context on where it came from and if an outside developer was involved.

    ------------------------------
    Evan Martinez
    ------------------------------



  • 5.  RE: What does it mean "calling a code page"?

    Posted 01-19-2022 11:04

    Thank you.  The code was created in 2014 for me…I have no memory of where I got it….I was brand new to QBase.  


    can someone tell me what this says in English, please? Thx



    ------------------------------
    BuildPro
    ------------------------------



  • 6.  RE: What does it mean "calling a code page"?

    Posted 01-19-2022 13:37
    "javascript:void(window.open('" & URLRoot() &"tools/copyParentChildren.html?dbid=" & Dbid() & "&recurse=1" & "&dest=new" & "&namefid=16" & "&rid=" & [Task ID#] & "','copyRecursive','top=240,left=320,width=400,height=150,location=no,menubar=no,toolbar=no'))"

    ------------------------------
    BuildPro
    ------------------------------



  • 7.  RE: What does it mean "calling a code page"?

    Posted 01-20-2022 16:23
    That actually looks like the code that came out of an older wizard we one had that walked through making a copy master and detail button. That is most likely where the code and button came from if it is what I think it is based on reading the formula.

    The part of that button that tells you where the code page is hosted is:

    " & URLRoot() &"tools/copyParentChildren.html?dbid=" & Dbid() 

    Which indicates that it is looking for the page copyParentChildren.html and that you would find it in the same realm which is indicate by URLRoot() & and the same app you are in which is indicated with ?dbid=" & Dbid(). So it should be a code page under your Pages in the app setting. I'm not sure what you were trying to accomplish with this but I hope that context helps. 


    ------------------------------
    Evan Martinez
    ------------------------------



  • 8.  RE: What does it mean "calling a code page"?

    Posted 01-20-2022 17:37
    Evan, I have admin access to that BuildPro app and I don't see any code pages.  But in any case, it it was a Quickbase Wizard, its probably no longer supported.  Maybe the wizard created a hidden code page ....

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------



  • 9.  RE: What does it mean "calling a code page"?

    Posted 01-21-2022 08:50
    Hi Mark,

    It has been so long since I've used that older version of the wizard I can't remember for sure if the code page was concealed in any way and I couldn't find one of my own apps that I hadn't removed it from. I'm asking around to be sure to see if someone still has one in their active apps. Either way you are correct we are recommending if someone has issues with one of those buttons to transition to using Pipelines or API calls instead.

    ------------------------------
    Evan Martinez
    ------------------------------



  • 10.  RE: What does it mean "calling a code page"?

    Posted 01-31-2022 18:54
    ...We don't think Pipelines will work...

    ------------------------------
    BuildPro
    ------------------------------