web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Cannot read properties of undefined (reading 'Persona')

(3) ShareShare
ReportReport
Posted on by 9
Good day 
 
I need assistance with a App D error below 
 
Error MessageCannot read properties of undefined (reading 'Persona')Stack TraceTypeError: Cannot read properties of undefined (reading 'Persona') at t.default (https://Business()/%7b000000208727814%7d/webresources/cc_MscrmControls.CustomCellControl.CustomCellControl/bundle.js:136:3157) at ra (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:58877) at qa (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:68395) at Uu (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:112287) at El (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:98325) at kl (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:98253) at xl (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:98116) at pl (https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:95103) at https://content.powerapps.com/resource/uci-infra-web/scripts/vendor.a5843558b1b6823d44bd41df23b6dde6.js:9:44772 at t.unstable_runWithPriority (https://content.powerapps.com/resource/uci-infra-web/scripts/app.287c14317b6fd499d4342c7800002ffe.js:14:3768)Component Stackat t.default
I have the same question (0)
  • Verified answer
    Holly Huffman Profile Picture
    6,530 Super User 2025 Season 2 on at
    Good morning, afternoon, or evening :) depending on your location!
    Hope you are well today.
     
    The error "Cannot read properties of undefined (reading 'Persona')" typically occurs when a JavaScript function attempts to access a property of an undefined object. Here's how you can troubleshoot and resolve this issue:
    Steps to Resolve:
    1. Check the Code in the CustomCellControl:
      • Review the code in the CustomCellControl component mentioned in the stack trace.
      • Ensure that the Persona object is properly initialized and defined before accessing its properties.
    2. Debug the JavaScript Code:
      • Use browser developer tools (e.g., Chrome DevTools) to debug the script.
      • Set breakpoints in the bundle.js file at the line causing the error (136:3157).
      • Inspect the value of the Persona object at runtime to identify why it is undefined.
    3. Verify Dependencies:
      • Check if the Persona object is dependent on external libraries or data sources.
      • Ensure that all required libraries are loaded and data sources are accessible.
    4. Handle Undefined Objects Gracefully:
      • Add a null or undefined check before accessing the Persona object:
        if (Persona) {
            // Access properties
        } else {
            console.error("Persona object is undefined");
        }
    5. Update the Component Logic:
      • If the Persona object is expected to be passed as a parameter, ensure that it is correctly passed from the parent component or function.
    6. Clear Cache and Refresh:
      • Clear the browser cache and refresh the application to rule out any caching issues.
     
    Hope this helps!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans