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.
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
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.
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?
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156