#10212 Add SetReferenceType method to SignedXml and SignedXmlImpl (#10139)
A SetReferenceType method is added to the SignedXml codeunit to allow callers to set the Type property on XMLDSIG Reference elements, enabling creation of XML signatures with typed references such as references to XAdES SignedProperties.
- 3files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-10-07 by marcus905 (community contribution) · 3 files (+51 -0), 2 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New SetReferenceType(Type: Text) method added to SignedXml and SignedXmlImpl codeunits
- Exposes the underlying .NET Reference.Type property that was previously inaccessible
- Enables XML signatures requiring typed references like XAdES SignedProperties
- Unit test added to verify the Type attribute is correctly emitted in generated Reference elements
- No breaking changes or compatibility impacts
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 1460 “SignedXml”, System Application: modified
- Codeunit 1461 “SignedXml Impl.”, System Application: modified
Context
- Fixes: #10139 [Extensibility Request] Expose SignedXml Reference.Type (closed)
- Work items: AB#652995
- Labels: ADO: Sync, AL: System Application, From Fork, Team: Integrations
- Systems: administration
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).