![]() |
T4S4
18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
getTagSeg4Id plmxml ObjectType Id | |
Function search for a specific tag based on the id. e.g.: set TagString [getTagSeg4Id $PlmxmlString AssociatedAttachment id1873] will return, if it is available in the PlmxmlString: <AssociatedAttachment id="id1873" attachmentref="#id1874" role="IMAN_master_form"> More... | |
getTagSeg4Type plmxml ObjectType SubObjectType | |
Searches for the specified ObjectType XML segment, the first match is returned otherwise an empty string is returned. More... | |
getValue XmlString AttributeName | |
This function returns the attribute value of given XML Node. More... | |
setFormAttributeValue plmxml AttributeName AttributeValue | |
sets the UserData value of a Form tag via the xdom APIs and returns the updated XML tag of the Form. More... | |
PXM::getTagSeg4Id | plmxml ObjectType Id | ||
Function search for a specific tag based on the id. e.g.: set TagString [getTagSeg4Id $PlmxmlString AssociatedAttachment id1873] will return, if it is available in the PlmxmlString: <AssociatedAttachment id="id1873" attachmentref="#id1874" role="IMAN_master_form">
plmxml | PLMXML input string |
ObjectType | Object type name (e.g. Form, Item, Occurrence or ProcessOccurrence) |
Id | PMLXML Object Id |
PXM::getTagSeg4Type | plmxml ObjectType SubObjectType | ||
Searches for the specified ObjectType XML segment, the first match is returned otherwise an empty string is returned.
plmxml | PLMXML input string |
ObjectType | Object type name (e.g. Form, Item, Occurrence or ProcessOccurrence) |
SubObjectType | Sub-object type name for the specified ObjectType name (e.g MEConsumed) |
PXM::getValue | XmlString AttributeName | ||
This function returns the attribute value of given XML Node.
XmlString | XML input string |
AttributeName | Attribute name that is used to get the corresponding tag value. |
Same code using the xdom parser
PXM::setFormAttributeValue | plmxml AttributeName AttributeValue | ||
sets the UserData value of a Form tag via the xdom APIs and returns the updated XML tag of the Form.
plmxml | PLMXML String |
AttributeName | Name of the Form attribute of the corresponding UserData/UserValue tag |
AttributeValue | New value of the specified Form attribute. |