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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,363)