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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,134)