Forum Discussion

ChristineWhite's avatar
ChristineWhite
Qrew Assistant Captain
5 years ago

IOL Basics

I am new to the IOL technique so wanted to start with the basics, creating 1 button per links below.   
I assume the highlighted data must be replaced with my data.  Any other modifications needed?
Formula
[iol] & "moduleTable1.js" & [/iol]
&
"<a class='QBU_Button Vibrant Success' " &
"  data-rid='" & [Record ID#] & "'" &
"  data-name='" & [Name] & "'" &
"  data-payment='" & [Payment] & "'" &
">Button</a>"

Content:
(function(){

var dbid = "bntfq3db8";
var dbidTable1 = "bntfq3y4z";
var apptoken = "cf27u4adzcujnic2b8sikbbvszut";
$.ajaxSetup({data: {apptoken: apptoken}});
$("a.QBU_Button").on("click", function(event) {
var rid = this.dataset.rid;
var name = this.dataset.name;
var payment = this.dataset.payment;
var message = `rid=${rid}\nname=${name}\npayment=${payment}`;
alert(message);
});
})();





https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=671
https://haversineconsulting.quickbase.com/db/bntfq3y4z?a=td

------------------------------
Christine W
------------------------------
  • Christine, before you embrace IOL, you should be aware that when Quick Base comes out with the next generation of forms, all the IOL will break, so there is  a supportability risk here down the road.  I don't know when that will be, but they well know that the basic forms have not changed much since like the year 20000 and it's getting higher in their priority list to revamp forms.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • ChristineWhite's avatar
      ChristineWhite
      Qrew Assistant Captain

      Thanks, the user request was to view details of a record in a pop up rather navigating to a new page and go through several steps to return to the original view.  Is there a native solution to this, IOL was the only  technique I was finding.

       

      Thanks



      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        Are you saying that the user is on a report and they want to see details of a record without leaving the report?  Would hover text work?  or are there too many fields for that?

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