OneForm Sample


console.log("Starting OneForm");
$Lightning.use(
"c:OneFormLightningOut", // name of the Lightning app
function () { // Callback once framework and app loaded
$Lightning.createComponent(
"oneform:form_lwc", // top-level component of app
{ formUID : "RFI" }, // attributes to set on the component when created
"lightningLocator", // the DOM location to insert the component
function (cmp) { // callback when component is created and active on the page
console.log("Successfully loaded form");
}
);
},
https://admdev-buquestrom.cs96.force.com/ // Authorization Token
);
console.log("Ending OneForm");