PCXmlParseTemplateComponent.parse Method [AX 2012]

Stores the session values that are included in the XML of the specified configuration session.

public void parse(
    PCTemplateComponent _templateComponent, 
    XmlReader _xmlReader, 
    RefRecId _currentComponentInstance, 
    PCAdaptorTemplateComponent _adaptorTemplateComponent)

Run On

Called

Parameters

_templateComponent
Type: PCTemplateComponent Table
The template component.
_xmlReader
Type: XmlReader Class
The XML reader that is used to retrieve the session values.
_currentComponentInstance
Type: RefRecId Extended Data Type
The ID of the current component instance.
_adaptorTemplateComponent
Type: PCAdaptorTemplateComponent Class
An instance of the PCAdaptorTemplateComponent class.

ExceptionCondition
Error

The record parsed from the XML string does not match the current record.

The only value to parse for the template component is the condition.

Community Additions

ADD
Show: