Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Team,
Is there any minimum count set for the allowedDocTypes in the grid.editor.config.json file.
allowedDocTypes
I have encountered some errors when the count exceeds 50. Below is the configuration I used:
{ "name": "Create new Media module", "alias": "docType", "view": "/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.html", "render": "/App_Plugins/DocTypeGridEditor/Render/DocTypeGridEditor.cshtml", "icon": "icon-item-arrangement", "config": { "allowedDocTypes": ["mediaGallery", "mediaItem", "mediaContentWithText"], "nameTemplate": "", "enablePreview": false, "viewPath": "/Views/Partials/Grid/Editors/DocTypeGridEditor/", "previewViewPath": "/Views/Partials/Grid/Editors/DocTypeGridEditor/Previews/", "previewCssFilePath": "", "previewJsFilePath": "" } }
Could anyone provide some directions on this matter? Thank you for your assistance.
Best regards, -Arun
I'm glad that I was able to resolve this issue.
When we try to add contents in the Doc Type Grid Editor field, a POST request is made. When the contents in allowedTypes increases, this request is broken!
Doc Type Grid Editor
allowedTypes
What I did was increase the maxQueryStringLength in the httpRuntime section of the web.config
maxQueryStringLength
httpRuntime
web.config
<httpRuntime requestValidationMode="2.0" fcnMode="Single" maxRequestLength="51200" maxQueryStringLength="4098"/>
And maxQueryString value in requestLimits of web.config
maxQueryString
requestLimits
<security> <requestFiltering> <requestLimits maxQueryString="4096" /> </requestFiltering> </security>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Limit in allowedDocTypes?
Hi Team,
Is there any minimum count set for the
allowedDocTypes
in the grid.editor.config.json file.I have encountered some errors when the count exceeds 50. Below is the configuration I used:
Could anyone provide some directions on this matter? Thank you for your assistance.
Best regards,
-Arun
I'm glad that I was able to resolve this issue.
When we try to add contents in the
Doc Type Grid Editor
field, a POST request is made. When the contents inallowedTypes
increases, this request is broken!What I did was increase the
maxQueryStringLength
in thehttpRuntime
section of theweb.config
And
maxQueryString
value inrequestLimits
of web.configis working on a reply...