Hi! I am unable to create a Knowledge Article Template. When I select /New,/ I get a /One of the scripts for this record has caused an error. For more details, download the log file./ error. I click /ok/ and it lets me select English - USA. Then I can create a template. When I click either /Save/ or /Save and close,/ I get an /An unexpected error occurred from ISV code./ I do not know how to track this down or gain an understanding of the problem. Can anyone help?
I downloaded the .txt files associated with the errors.
Error 1: One of the scripts for this record has caused an error.
TypeError: Cannot read properties of null (reading 'setDisabled')
at d.onLoad (https://kenzen.crm.dynamics.com/%7b638452155280000196%7d/webresources/msdyncrm_/KnowledgeManagementFeatureWebResource/KnowledgeArticleTemplate/KnowledgeArticleTemplateMainSystemLibrary.js:1:1670)
at y._executeFunctionInternal (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:1233194)
at y.execute (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:1231628)
at https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:155346
at i (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:95798)
at ne._executeIndividualEvent (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:155320)
at ne._executeEventHandler (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:152138)
at Object.execute (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:149329)
at w._executeSyncAction (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:592280)
at w._executeSync (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:592007)
at d.onLoad (https://kenzen.crm.dynamics.com/%7b638452155280000196%7d/webresources/msdyncrm_/KnowledgeManagementFeatureWebResource/KnowledgeArticleTemplate/KnowledgeArticleTemplateMainSystemLibrary.js:1:1670)
at y._executeFunctionInternal (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:1233194)
at y.execute (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:1231628)
at https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:155346
at i (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:95798)
at ne._executeIndividualEvent (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:155320)
at ne._executeEventHandler (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:152138)
at Object.execute (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:4:149329)
at w._executeSyncAction (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:592280)
at w._executeSync (https://content.powerapps.com/resource/uci-infra/scripts/app.1211c8178aed6627efd7620b582acf2d.js:14:592007)
Error Details:
Event Name: onload
Function Name: KnowledgeManagement.CommandBarActions.Instance.onLoad
Web Resource Name: msdyncrm_/KnowledgeManagementFeatureWebResource/KnowledgeArticleTemplate/KnowledgeArticleTemplateMainSystemLibrary.js
Solution Name: msdynce_KnowledgeManagementFeatures
Publisher Name: microsoftdynamics
Event Name: onload
Function Name: KnowledgeManagement.CommandBarActions.Instance.onLoad
Web Resource Name: msdyncrm_/KnowledgeManagementFeatureWebResource/KnowledgeArticleTemplate/KnowledgeArticleTemplateMainSystemLibrary.js
Solution Name: msdynce_KnowledgeManagementFeatures
Publisher Name: microsoftdynamics
Error 2: An unexpected error occured from ISV code
Exception Message: Invalid language. Please select a valid language.​
ErrorCode: -2147220956
HexErrorCode: 0x80040224
HexErrorCode: 0x80040224
ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate
ApiStepKey: 337013f4-2f00-4885-8250-a531963e074c
ApiDepthKey: 1
ApiActivityIdKey: a6c9d4d8-d13c-4dec-b4e9-c064696325ba
ApiPluginSolutionNameKey: msdynce_KnowledgeManagementFeatures
ApiStepSolutionNameKey: msdynce_KnowledgeManagementFeatures
ApiExceptionCategory: ClientError
ApiExceptionMessageName: IsvUnExpected
ApiExceptionHttpStatusCode: 400
ApiExceptionSourceKey: Plugin/Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate
ApiStepKey: 337013f4-2f00-4885-8250-a531963e074c
ApiDepthKey: 1
ApiActivityIdKey: a6c9d4d8-d13c-4dec-b4e9-c064696325ba
ApiPluginSolutionNameKey: msdynce_KnowledgeManagementFeatures
ApiStepSolutionNameKey: msdynce_KnowledgeManagementFeatures
ApiExceptionCategory: ClientError
ApiExceptionMessageName: IsvUnExpected
ApiExceptionHttpStatusCode: 400
HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040224&client=platform
TraceText:
[Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins: Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate]
[337013f4-2f00-4885-8250-a531963e074c: PreOperation of knowledge article template Create]
Entered Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate.Execute(), Correlation Id: 08f45fd3-f3de-40a0-8a45-2da6827c3c95, Initiating User: 75909330-19f2-ed11-8849-000d3a9b75f2
Exiting Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate.Execute(), Correlation Id: 08f45fd3-f3de-40a0-8a45-2da6827c3c95, Initiating User: 75909330-19f2-ed11-8849-000d3a9b75f2
[Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins: Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate]
[337013f4-2f00-4885-8250-a531963e074c: PreOperation of knowledge article template Create]
Entered Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate.Execute(), Correlation Id: 08f45fd3-f3de-40a0-8a45-2da6827c3c95, Initiating User: 75909330-19f2-ed11-8849-000d3a9b75f2
Exiting Microsoft.Dynamics.KnowledgeArticleFeatures.Plugins.PreOperationKnowledgeArticleTemplateCreate.Execute(), Correlation Id: 08f45fd3-f3de-40a0-8a45-2da6827c3c95, Initiating User: 75909330-19f2-ed11-8849-000d3a9b75f2
Activity Id: b7adf7b0-44a3-479a-8b81-11d801992f96
Categories: