Forum Discussion
------------------------------
Lija Harris
------------------------------
Once you have created the code page, you can get a link to the page by clicking on the "Preview this page" button in the Pages screen and copying the url of the pop up that appears.
Once you have the URL, you now need to create a Formula - URL field in the table where you want to embed the page.
Paste the URL you copied in between two double quotes into the formula builder and make sure the Embed as iframe in forms checkbox is checked:
Place the new field on the form wherever you would like the codepage to show.
------------------------------
Justin Torrence
Quickbase Expert, Jaybird Technologies
jtorrence@jaybirdtechnologies.com
https://www.jaybirdtechnologies.com/#community-post
------------------------------
- LijaHarris3 years agoQrew CadetThank you so very much for the step by step instructions. I think the last piece that I am missing is having the fields populate correctly (before this was done in a separate javascript codepage called module.js). Unfortunately it utilized mustache (which may not be in the quickbase js library - picture of the module was orig attached). If there a way to call the javascript before the html template? Otherwise the fields are not populating (pic attached time column only ive added "---" in html on purpose)
------------------------------
Lija Harris
------------------------------- JustinTorrence3 years agoQrew Cadet
Sure!
This will be similar to how you can include a CDN into the head of an HTML file, using the script tag:
In the src attribute, include a link to the module.js code page. This will load the js file before it loads the rest of the html page.If the js file doesn't solve your moustache problem, you can add a link to their CDN. Here you can find all different versions of the project and their CDN:
https://cdnjs.com/libraries/mustache.js/4.2.0
------------------------------
Justin Torrence
Quickbase Expert, Jaybird Technologies
jtorrence@jaybirdtechnologies.com
https://www.jaybirdtechnologies.com/#community-post
------------------------------- LijaHarris3 years agoQrew CadetSo sorry for all the questions and responding late, just wanted to clarify where I will include a link to the module.js? currently I be putting the above code in the html page (i uploaded an example)? I included a link (i copied what is in the preview page) in the src...and when i do that I get the same result in the above picture
or do i use the CDN (https://cdnjs.cloudflare.com/ajax/libs/mustache.js/4.2.0/mustache.min.js - and add in moduletable.js instead of the mustache.min.js.? or do i have to create the CDN? Thank you again so much for all your help.
------------------------------
Lija Harris
------------------------------