Forum Discussion

MannyCruz's avatar
MannyCruz
Qrew Assistant Captain
8 years ago

Embed for record viewing?

Okay, so I'm really starting to love the QuickBase community, everyone is so helpful. This one may be a stretch, and I don't really need it, I am just curious as to whether or not it's possible. 

I know report links pop into records as embedded, is there any way to get it so that when you click a record, it displays in the embed without having it link you to the new page? Again, just curious. 

11 Replies

  • So you are sitting on a record (let's call it a Project) and there is an embedded report of "Tasks".

    You then click on a Task and want what to happen?
    • JacobJacob's avatar
      JacobJacob
      Qrew Cadet
      Wow always so fast to respond, it always amazes me how many questions you answer a day!
  • Hello,

    Are you asking to view the records that are in the underlying report link on the form?  If so then you can change the behavior of a report link by clicking edit the properties of this form element and change the radio buttons to Display the related holdings directly on the form.
  • MCFNeil's avatar
    MCFNeil
    Qrew Captain
    As far as using that same 'embedded' space and displaying the image, I don't think so.

    But, you can create a button that will open that record up in a smaller pop-up window.  The button would need to be on the child record report.

    Let me know if you need that code
    • MannyCruz's avatar
      MannyCruz
      Qrew Assistant Captain
      This would be the best workaround I think, it would be like a "preview" function almost. Would you mind sharing that code?
  • MannyCruz's avatar
    MannyCruz
    Qrew Assistant Captain
    So when I click on a "Task" Instead of redirecting me to the screen that displays that record. I was wondering if it could just display it on the embed 
  • MCFNeil's avatar
    MCFNeil
    Qrew Captain
    Create a formula-text field, and use this:

    "<a class='Vibrant Success' onclick=\"var a=window.open('https://www.google.com/', 'newwindow', 'width=600,height=600');\" >Google</a>"

    Replace the google URL with your view url:  
    Something like this for viewing a contact detail record.

    URLRoot() & "db/" & [_DBID_CONTACTS] & "?a=dr&rid="&[Record ID#]
    • AndreaSullivan's avatar
      AndreaSullivan
      Qrew Member
      Is there a way to disable the hyperlink behavior? i.e., force the viewer to copy/paste the URL rather than click?

      ------------------------------
      Andrea Sullivan
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        Can you explain the use case for disabling a link like that?  Why do you want this behavior?

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