Forum Discussion

AlexBennett3's avatar
AlexBennett3
Qrew Trainee
4 years ago

iFrame 404 error (issue with code?)

Hey everyone,

Wanted to see if I could get some input on my code... I was able to get the iframe to display (it was disabled).
But then when I'm trying to make adjustments to include the "&ifv=1" to remove the quickbase header now no matter what variation i do for the URL or code I can't get it to come back. any help with this code would be appreciated. 

Ultimately, I'm trying to get this Timeline to display in an iframe as an embedded report, removing the header and only showing that specific job data instead of it showing ALL. 

"<iframe src=\""&[Timeline Report iframe URL]&"\"url="&URLRoot()&"up/" & Dbid () & "?a=q&qid=9" & [Record ID#] & "&ifv=1" & "&embedded-true\" width=\"1100\" height=\"600\" frameborder=\"0\" target=\"_blank\" ></iframe>"


Thanks,
Alex

------------------------------
Alex Bennett
------------------------------
  • This part of your code look wonky.

    URLRoot()&"up/" & Dbid () & "?a=q&qid=9" & [Record ID#] 

    But separately. Are you using the technique from Kick Tracky's magic buttons app?

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • AlexBennett3's avatar
      AlexBennett3
      Qrew Trainee
      Yeah that's where I got the code was from the Magic Buttons app. including the URLRoot()&up/" &Dbid()

      ------------------------------
      Alex Bennett
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        But that URLis invalid.  Is this an <ask the user> report?

        Maybe its supposed to be
        URLRoot()&"up/" & Dbid () & "?a=q&qid=9&nv=1&v0=" & [Record ID#]


        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------
  • Sorry if this post is out of sequence.  The Forum is misbehaving.
    You need to have an <ask the user> report that asks for the Related Parent.  Here is an example of code that works.


    "<iframe width=\"1250\" height=\"1675\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\" src=\"" & URLRoot()&"db/"&[_DBID_PICKUPS___DELIVERIES]
    &"?a=q&qid=8&nv=1&v0=" & [Record ID#] & "&ifv=1" & "\"></iframe>"

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • AlexBennett3's avatar
      AlexBennett3
      Qrew Trainee
      Hey Mark,

      Sorry for the inexperience working with this code,
      can you tell me what &nv=1&v0= is for? I also use that same &"?a=q&qid=8 but change it to 9 for the right report that I need, nothing will display unless I use the 8, 

      This was due to removing the header that uses the new style of report, if I set it to the old style then it shows up. 

      ------------------------------
      Alex Bennett
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        Let us do this step-by-step. The first thing I want you to do is to make a timeline report but make it where there is a filter on the report for it <ask the user> for the related project. 

        Once you have that I want you to run the report answer the question and then post the URL that you see on this forum and then we will go to the next step.

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