Unplanned
Last Updated: 03 Dec 2021 06:40 by ADMIN
Pratik
Created on: 03 Dec 2021 06:39
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: The content controls ID's must be set automatically when once clones or inserts an SDT

The content controls ID's must be set automatically when once clones or inserts an SDT.

Workaround: Manually set the ID

SdtRangeStart start = grpContentControls.Where(c => Convert.ToString(c.SdtProperties.Tag) ==  "purchlastname").First();

var properties = new SdtProperties(start.SdtProperties);
properties.ID = 123456;
var currentItem = editor.InsertStructuredDocumentTag(properties);

0 comments