PCXmlParseComponent.parse Method [AX 2012]

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

public void parse(
    PCClass _component, 
    XmlReader _xmlReader, 
    PCComponentInstanceValue _componentInstanceValue, 
    str _expectedName, 
    PCAdaptorRootComponent _adaptorComponent)

Run On

Server

Parameters

_component
Type: PCClass Table
The component parameter.
_xmlReader
Type: XmlReader Class
The XML reader used to retrieve the session values.
_componentInstanceValue
Type: PCComponentInstanceValue Table
The value container that will store the attribute values for the current component.
_expectedName
Type: str
The name of the sub-component or root component used to validate the parsed XML.
_adaptorComponent
Type: PCAdaptorRootComponent Class
An instance of the PCAdaptorComponent class.

ExceptionCondition
Error

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

Community Additions

ADD
Show: