I have a simple JS integration in the onload event of a tab on a form. When I create a new record and save it I get an error about one of the scripts for this record ahs caused an error.
the error details form the log are:
Event Name: onchange
Function Name: LaunchPBI
Web Resource Name: diganyl_EngCurve_dynamic
Solution Name: Active
Publisher Name: DefaultPublisherorgf8c2a1d7
The onlys cript in this form is replacing the contents of an iframe to show a PBI report for particular data:
I'm not calling a function called "LaunchPBI"; further, the JS web resource contains no function (or text of) called "LaunchPBI".
Everything works as expected when viewing an existing item. but on creating a new item things error.
I suspect the issue is that column I'm referencing with the link to the PBI report doesn't exist for a new item (though the column name is not "LaunchPBI").
Is there a way to keep the script from executing until the tab is selected (or after the item exists in the DataVerse Table?
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.