PCXmlSessionWriterSubComponent.writeComponent Method [AX 2012]

Writes the session XML for the component from a sub component record

public void writeComponent(
    PCSubComponent _subComponent, 
    XmlWriter _attributeTypeWriter, 
    XmlWriter _componentTypeWriter, 
    PCComponentInstance _parentInstance, 
    PCConfigurationControl _modelUIControl, 
    PCComponentControl _componentControl, 
    Set _parsedTypes, 
    PCXmlSessionDatabaseRelationTypes _parsedSystemTableConstraintTypes, 
    Map _parsedIntegerDomains, 
    Set _subComponentTypeNames, 
    LanguageId _sessionLanguage, 
    PCClass _component, 
    str _assignedComponentID, 
    StackBase _subComponentPath, 
    PCRuntimeInstanceIdManager _runtimeInstanceIdManager)

Run On

Server

Parameters

_subComponent
Type: PCSubComponent Table
The sub component record for which to generate the XML.
_attributeTypeWriter
Type: XmlWriter Class
The XML writer used to store the types of attributes.
_componentTypeWriter
Type: XmlWriter Class
The XML writer used to store the types of components.
_parentInstance
Type: PCComponentInstance Table
The configuration instance of the parent component.
_modelUIControl
Type: PCConfigurationControl Table
The UI definition used to sort the attribute groups and attributes of each component.
_componentControl
Type: PCComponentControl Table
The UI definition used to sort the attribute groups and attributes of each component.
_parsedTypes
Type: Set Class
A collection containing the record IDs of the attribute types already parsed.
_parsedSystemTableConstraintTypes
Type: PCXmlSessionDatabaseRelationTypes Class
A collection containing the record IDs of the system table constraint types already parsed.
_parsedIntegerDomains
Type: Map Class
A map containing integer domains that have already been encountered during the XML generation.
_subComponentTypeNames
Type: Set Class
The set containing string values with the names of the component types parsed.
_sessionLanguage
Type: LanguageId Extended Data Type
The language ID of the current session.
_component
Type: PCClass Table
The component involved in the sub component relation.
_assignedComponentID
Type: str
The ID assigned to the component
_subComponentPath
Type: StackBase Class
The path to the current sub-component as a list of PCSubComponent records.
_runtimeInstanceIdManager
Type: PCRuntimeInstanceIdManager Class
A instance ID manager.

Obsolete: Use the IL equivalent method.

Community Additions

ADD
Show: