3 Replies Latest reply on Oct 16, 2018 8:43 AM by Santiago Sanchez

    Javascript API


      We are building out an MVC website to embed the javascript api.  We are hiding the standard toolbar to protect some features and are trying to get the functions of showExportImageDialog(),  showExportImagePDF() , etc.  working from buttons within the page.   I have the viz opening correctly but can't get the buttons to work.   I have verified that I am getting into the javascript by using an alert.   When running with developer tools in both IE and Google they are showing "viz is not defined."  I'm unsure of what else I need to add here to get this to work.  Attached is the javascript code that I have.  Any help would be greatly appreciated.