{"id":64086,"date":"2026-12-04T11:04:34","date_gmt":"2026-12-04T11:04:34","guid":{"rendered":"https:\/\/releases.mscrm-addons.com\/?post_type=manual_documentation&#038;p=64086"},"modified":"2026-12-04T11:04:35","modified_gmt":"2026-12-04T11:04:35","slug":"documentscorepack-server-for-business-central-2025-31-closed-beta","status":"publish","type":"manual_documentation","link":"https:\/\/releases.mscrm-addons.com\/index.php\/release\/documentscorepack-server-for-business-central-2025-31-closed-beta\/","title":{"rendered":"DocumentsCorePack Server for Business Central 2025.31 (Closed Beta)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>General Updates\/Improvements<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>SharePoint Batch Fetch:<\/em><\/strong> Previously, each SharePoint image in a template was loaded through its own query.&nbsp; These queries usually differed only in a single condition value, such as the file title.&nbsp; This meant that a template containing several images would require just as many queries, delaying document generation.&nbsp; Now, via \u201cSharePointBatchFetch\u201d, these queries can be loaded with a single query, improving generation performance (22738).\n<ul class=\"wp-block-list\">\n<li>This feature can be enabled via the <a href=\"https:\/\/releases.mscrm-addons.com\/index.php\/release\/documentscorepack-server-2025-29\/\">\u201cTemplatePerformanceOptions\u201d settings key or the \u201cWMMTemplatePerformanceOptions\u201d template property<\/a> with the following value: {&#8220;SharePointBatchFetch&#8221;:true}<\/li>\n\n\n\n<li>\u201cSharePointBatchMaxValues\u201d limits how many image go into one batch. The default is 10.<\/li>\n\n\n\n<li>This feature is off by default.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><em>Using service for handling OCA settings:<\/em><\/strong> Normally, a custom API handles the logic involving OCA settings.&nbsp; While this will remain possible, it will now also be possible to allow the service itself to resolve OCA settings without the custom API (22731).\n<ul class=\"wp-block-list\">\n<li>To activate this service-based approach, the following settings key will need to be configured:\n<ul class=\"wp-block-list\">\n<li><strong>Name:<\/strong> UseCustomApiForOcaSettings<\/li>\n\n\n\n<li><strong>Value:<\/strong> false<\/li>\n\n\n\n<li><strong>Product:<\/strong> AutoMerge<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>When the service resolves OCA settings, Dynamic Documents are supported: the sub-OCA is evaluated for each record returned by the fetch, either with a template or as a multipart. Only one level of Dynamic Documents is supported.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><em>Classic -&gt; Web Add-In Template Designer conversion:<\/em><\/strong> Unified fetch generation of document and additional tables (14218).<\/li>\n\n\n\n<li><strong><em>Template Caching:<\/em><\/strong> Improvements to logging (22687).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Bug Fixes<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>Image Compression:<\/em><\/strong> When image compression was used, the size of picture fields in templates was calculated incorrectly, with height and width swapped (22531).\n<ul class=\"wp-block-list\">\n<li>This issue can be fixed by the following settings key:\n<ul class=\"wp-block-list\">\n<li><strong>Name:<\/strong> ImageCompressionUseFrameSize<\/li>\n\n\n\n<li><strong>Value:<\/strong> true<\/li>\n\n\n\n<li><strong>Product:<\/strong> AutoMerge<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>It can also be fixed with the following template property:\n<ul class=\"wp-block-list\">\n<li><strong>Name:<\/strong> WordMailMergeImageCompressionUseFrameSize<\/li>\n\n\n\n<li><strong>Value:<\/strong> true<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><em>Web Add-In:<\/em><\/strong> Fixed an issue where a related-entity filter inside a nested filter group generated an incorrect FetchXML (lost its link entity and repeated preceding conditions) (22347).<\/li>\n\n\n\n<li><strong><em>File Field:<\/em><\/strong> Fixed an error when retrieving a file column on tables that have no &#8216;accountid&#8217; column (22933).<\/li>\n\n\n\n<li><strong><em>Save to SharePoint:<\/em><\/strong> Fixed an issue where, if \u201cSingleDocument\u201d and \u201cSaveToTemp\u201d were set to \u201cfalse\u201d, an empty file would be saved to SharePoint (22606).<\/li>\n\n\n\n<li><strong><em>Table layout:<\/em><\/strong>\n<ul class=\"wp-block-list\">\n<li>Fixed an issue where an auto-fit table with a percentage width of less than 100% is set to full width upon generation (22181).<\/li>\n\n\n\n<li>Fixed an issue where tables containing nested tables are not properly processed, causing nested tables to have altered layouts (22182).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><em>AE\/DCP Service Config:<\/em><\/strong> Fixed an issue where creating a new connection could cause the program to hang when uploading a certificate (22389).<\/li>\n\n\n\n<li><strong><em>OCA:<\/em><\/strong> Fixed an issue where an OCA\u2019s action was executed even though \u201cRun Action\u201d was disabled (22731).<\/li>\n\n\n\n<li>Fixed an issue where a subservice can begin working too early before startup is finished when triggered by the registry monitor (22063).<\/li>\n\n\n\n<li>Fixed an issue introduced in 2025.30 where AutoMergeService memory grew with every run and was not released (22913).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Released: 04.12.2026<\/em><\/p>\n","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"template":"","manualdocumentationcategory":[16],"manual_doc_tag":[],"class_list":["post-64086","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-dcp-bc-release"],"_links":{"self":[{"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/manual_documentation\/64086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/users\/7"}],"version-history":[{"count":2,"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/manual_documentation\/64086\/revisions"}],"predecessor-version":[{"id":64089,"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/manual_documentation\/64086\/revisions\/64089"}],"wp:attachment":[{"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/media?parent=64086"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/manualdocumentationcategory?post=64086"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/releases.mscrm-addons.com\/index.php\/wp-json\/wp\/v2\/manual_doc_tag?post=64086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}