Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

+ button on a sub grid is not working after 9.1 upgrade for a specific entity.

(0) ShareShare
ReportReport
Posted on by 10

+ button for a sub grid in a form is suppose to open a look up to add existing record but after 9.1 upgrade this is failing with the below error.

CrashReport:
FileName:/form/page.aspx
LineNumber:0
Function:XrmCore.Commands.AddFromSubGrid.addExistingFromSubGridAssociated
ErrorReport:<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
   <OriginContext>XMLHandler</OriginContext>
   <OriginCorrelationId>{5d1c6ca0-b8c4-d650-b89c-b700810a9a41}</OriginCorrelationId>
  <ScriptErrorDetails>
   <Message>&#36;v_1 is not a function</Message>
   <ExceptionNumber>0</ExceptionNumber>
   <Line>0</Line>
   <URL>&#47;form&#47;page.aspx&#63;lcid&#61;1033&#38;themeId&#61;a49c4ae8-1ce2-e511-80fb-005056a10920&#38;tstamp&#61;6182116&#38;updateTimeStamp&#61;637969251142885373&#38;userts&#61;133076273723608153&#38;ver&#61;-311091485&#35;etc&#61;4400&#38;pagetype&#61;entityrecord&#38;extraqs&#61;&#37;3fetc&#37;3d4400&#37;26id&#37;3d&#37;257bCE25C231-B018-ED11-8D9E-08002742A8A7&#37;257d&#37;26rskey&#37;3d&#37;257b7F68A34B-26F1-430F-B3EF-7079F2925C69&#37;257d&#37;26_gridType&#37;3d4400&#38;rskey&#61;&#37;7b7F68A34B-26F1-430F-B3EF-7079F2925C69&#37;7d&#38;pagemode&#61;iframe&#38;counter&#61;1663153803701</URL>
   <PageURL>&#47;form&#47;page.aspx&#63;lcid&#61;1033&#38;themeId&#61;a49c4ae8-1ce2-e511-80fb-005056a10920&#38;tstamp&#61;6182116&#38;updateTimeStamp&#61;637969251142885373&#38;userts&#61;133076273723608153&#38;ver&#61;-311091485&#35;etc&#61;4400&#38;pagetype&#61;entityrecord&#38;extraqs&#61;&#37;3fetc&#37;3d4400&#37;26id&#37;3d&#37;257bCE25C231-B018-ED11-8D9E-08002742A8A7&#37;257d&#37;26rskey&#37;3d&#37;257b7F68A34B-26F1-430F-B3EF-7079F2925C69&#37;257d&#37;26_gridType&#37;3d4400&#38;rskey&#61;&#37;7b7F68A34B-26F1-430F-B3EF-7079F2925C69&#37;7d&#38;pagemode&#61;iframe&#38;counter&#61;1663153803701</PageURL>
   <Function>XrmCore.Commands.AddFromSubGrid.addExistingFromSubGridAssociated</Function>
   <FunctionRaw></FunctionRaw>
   <SourceScriptName>&#36;webresource&#58;Main_system_library.js</SourceScriptName>
   <CallStack>
TypeError&#58; &#36;v_1 is not a function&#10;    at Mscrm.GridCommandActions.checkInParentAndInvoke &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_common&#47;scripts&#47;commandbaractions.js&#63;ver&#61;-311091485&#58;1&#58;398122&#41;&#10;    at Mscrm.GridCommandActions.&#36;1J &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_common&#47;scripts&#47;commandbaractions.js&#63;ver&#61;-311091485&#58;1&#58;397016&#41;&#10;    at Mscrm.GridCommandActions.addExistingFromSubGridAssociated &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_common&#47;scripts&#47;commandbaractions.js&#63;ver&#61;-311091485&#58;1&#58;398550&#41;&#10;    at AddFromSubGridLibraryLegacy.addExistingFromSubGridAssociated &#40;&#60;anonymous&#62;&#58;1&#58;45804&#41;&#10;    at Mscrm.Utilities.executeJavascriptFunction &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;Advise36Core410&#47;_common&#47;global.ashx&#63;ver&#61;-311091485&#58;6872&#58;601502&#41;&#10;    at Mscrm.CommandHandler.&#36;Cu_1 &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_controls&#47;ribbon&#47;ribbon.js&#63;ver&#61;-311091485&#58;1&#58;83210&#41;&#10;    at Mscrm.CommandHandler.&#36;Ap_1 &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_controls&#47;ribbon&#47;ribbon.js&#63;ver&#61;-311091485&#58;1&#58;82550&#41;&#10;    at Mscrm.CommandHandler.handleCommand &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_controls&#47;ribbon&#47;ribbon.js&#63;ver&#61;-311091485&#58;1&#58;77461&#41;&#10;    at Mscrm.CommandBarData.executeCommand &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_controls&#47;ribbon&#47;ribbon.js&#63;ver&#61;-311091485&#58;1&#58;147786&#41;&#10;    at Mscrm.TurboGridControl.&#36;6V_4 &#40;http&#58;&#47;&#47;win-stk8tk70krs&#58;5555&#47;_static&#47;_grid&#47;GridControl.js&#63;ver&#61;-311091485&#58;1&#58;271450&#41;   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla&#47;5.0 &#40;Windows NT 10.0&#59; Win64&#59; x64&#41; AppleWebKit&#47;537.36 &#40;KHTML, like Gecko&#41; Chrome&#47;105.0.0.0 Safari&#47;537.36</BrowserUserAgent>
   <BrowserLanguage>undefined</BrowserLanguage>
   <SystemLanguage>undefined</SystemLanguage>
   <UserLanguage>undefined</UserLanguage>
   <ScreenResolution>1920x1070</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClienState>Online</ClienState>
   <ClientTime>2022-09-14T04&#58;17&#58;59</ClientTime>
  </ClientInformation>
</CrmScriptErrorReport>

pastedimage1663160667822v1.png

What might be the reason for this and how can this be fixed?

Thank you
  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,274 Super User 2024 Season 1 on at
    RE: + button on a sub grid is not working after 9.1 upgrade for a specific entity.

    hi

    look this

    community.dynamics.com/.../after-on-premise-update-to-crm-9-1-why-subgrid-do-not-show-all-columns-rightly

    DAniele

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans