Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Get Error when click on record on Grid

(0) ShareShare
ReportReport
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 1,019 Super User 2025 Season 1 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans