Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

ReferenceError: Web resource method does not exist: LaunchPBI

Posted on by
Hello and many thanks for the assistance!
 
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?

Under review

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans