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 365 | Integration, Dataverse...
Suggested Answer

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

(2) ShareShare
ReportReport
Posted on by 14

+ 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
    11,423 Super User 2026 Season 1 on at
  • Suggested answer
    Reshad Dernjani Profile Picture
    4 on at
  • Suggested answer
    Reshad Dernjani Profile Picture
    4 on at
     
    Using legacy forms rendering fixed it for me.
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
ParthPatel249 Profile Picture

ParthPatel249 64

#2
11manish Profile Picture

11manish 52 Super User 2026 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 44 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans