Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Get Error when click on record on Grid

Posted on by 335

Hello 

i ma getting error only when i am click more than 3-4 on record of grid actually this reported by client..

in normal case it's not come here is message 

TypeError: Cannot read property 'getValue' of null
at Object.gridRowSelected (evoqua-qa.crm.dynamics.com/.../abc_workorderproductgridvalidation:124:59)
at rl.executeFunction (evoqua-qa.crm.dynamics.com/.../app.js
at rl.execute (evoqua-qa.crm.dynamics.com/.../app.js
at evoqua-qa.crm.dynamics.com/.../app.js
at i (evoqua-qa.crm.dynamics.com/.../app.js
at V._executeIndividualEvent (evoqua-qa.crm.dynamics.com/.../app.js
at V._executeEventHandler (evoqua-qa.crm.dynamics.com/.../app.js
at Object.execute (evoqua-qa.crm.dynamics.com/.../app.js
at w._executeSyncAction (evoqua-qa.crm.dynamics.com/.../app.js
at w._executeSync (https://evoqua-qa.crm.dynamics.com/uclient/scripts/app.js?v=1.4.1560-2009.2:722:419)

For that i have go through this message and apply condition for that attribute both null and undefined but in debugging am getting value

and it's getting after that record open on model dialog..here is screenshotof it

work_5F00_Product.PNG

we have crm version 9.1.0000.23474 and 

2020 release wave 2 enabled

i don't whether it's our bug or microsoft bug.

Thanks & Regards

  • Suggested answer
    RE: Get Error when click on record on Grid

    Hello There,

    Are you working with editable grid? If this logic have customizations on multi select of editable grid rows, that would be an issue. Editable subgrid is meant for 1 row at a time.

    From error looks like it's unable to retrieve some Client API collection. I would suggest to open Microsoft Support request for this one.

    Regards,

    Apeksha Shewalkar

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Get Error when click on record on Grid

    Hi Yash Trivedi,

    Check the event handlers for the onrecordselect event of the grid. There will be an associated JavaScript file that uses the getValue Client API without first checking that the attribute it is retrieving data for contains data. You will need to ensure that the attribute contains data before calling the getValue Client API.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,944 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,400 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans