cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VaibhavSJadhav
Regular Visitor

Getting error as "Uncaught TypeError: $(...).context is undefined" and "Uncaught TypeError: Cannot read property 'location' of undefined" in portal pages

Hi Team,

Getting error while retrieving base URL using PowerApps context.
Following is the code which was working fine till yesterday but now it's getting error:

"Uncaught TypeError: $(...).context is undefined" and "Uncaught TypeError: Cannot read property 'location' of undefined" in portal pages.

Please provide resolution or suggestions as it's now high priority task.

Thanks,
Vaibhav



1 REPLY 1

@VaibhavSJadhav 

 

What is the exact code for only that specific line that has this error?

 

If needed you can check this in the log file or you can check it in Developer Tools of browser (F12 on keyboard) and in Console, click on the little link near the and it should take you to line number and the line of code. 

 

For anything that cannot be posted public, you can omit any specific URL's, use fake info for anything like field names or values (if any), etc.

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,884)