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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom subgrid on form causing error on mobile

(0) ShareShare
ReportReport
Posted on by

Hi I'm using CRM 2016 online,

I have a custom subgrid with a 1:N relationship between Opportunity and my custom entity. This is for sales to input potential product line items, brand, product type, and estimated revenue. Sales will enter potential items for the opportunity and a total calculated rollup field sums up all the est. revenue they entered in the subgrid. It works fine on PC opportunity entries, but when open opportunities in mobile I get this "error: Cannot read property 'getValue' of null" screenshot below.

Screenshot_5F00_20161116_2D00_151505.png

It doesn't display my subgrid, only the total est. revenue calculated field. Other subgrids OOB works fine eg. stakeholders/competitors. I checked that this custom subgrid is enabled to view on a phone. 

I tried putting it in a separate tab, still didn't work.


Is there a way to fix this and get the subgrid to work on mobile phones? or does sales have to enter these fields on PC only?

Thanks

I'm using a Samsung Galaxy S6 Android. I haven't tested in ios yet.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    When you say 'Custom subgrid' do you mean you have built one using HTML and Javascript?

    Usually the issue when you get cannot read property getValue on the mobile client is because only the first few tabs/sections/fields are displayed and so if your code is referring to that attribute it can't get the value.

    From technet.microsoft.com/.../dn531128.aspx:

    Forms in Dynamics 365 for tablets are limited to 5 tabs (or 75 fields and 10 lists). This limit includes hidden fields.

    Check that the attribute that you are reading is actually on the form due to this limiation.

    Hope this helps

  • Hafez Profile Picture
    115 on at

    Hi Scott,

    Could you elaborate on this a little further.  the link you provided seems to be broken.

    I customized the Opportunity Form - fields, tabs, section.  The form works just fine.  I have specified certain fields to be visible for Mobile.

    When I run the Mobile Form, I receive a similar error:

    Field: Windows

    Event: Load

    Error: cannot read property value "getvalue".....

    The form has 9 sections.  the sections I want visible in mobile are in between 1 to 9.  The form looks just fine.  All the info I want in the mobile form is present.  the issue is on load it throws the error and clearly customers do not like the error.

    Any ideas?

  • Guowei_Xu Profile Picture
    407 on at

    Hi Cynthia Y ,

     I have faced the same issue, the custom subgrid  with a 1:N relationship between Opportunity and my custom entity didn't display in my phones.

    I have tried many ways, finally, i fond that the property of custom entity must choose the checkbox of "Availabe on phone" . 

    After that it's done.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
NeerajPawar Profile Picture

NeerajPawar 2

#2
jlattimer Profile Picture

jlattimer 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans