Alan Fitch
09/01/2021, 1:13 PMSandii
09/01/2021, 3:24 PMrec.setValue('custrecord_inlinthtmlfield',
react.getReactLibraries() + // this is the overall package
react.getSpecificLib(specificLibName) + // this is the specific one I am using
'<div id="someReactDivName" ></div>' +
react.renderReactElement('fnOnTheReactFile', 'someReactDivName', 'reactFileName') // just help to read the file and set into proper place on the page
);
Where react
is a helper file that we made that goes and does all that stuffSandii
09/01/2021, 3:25 PMAlan Fitch
09/01/2021, 3:25 PM