RaiseEventAction Element

System.Object
  ActionType
    RaiseEventAction
Client Declaration
  public class RaiseEventAction
Represents a pending action for raising a custom event in association with a subscribable Content Engine object. For more information, see the Java™ API RaiseEvent class and raiseEvent method topics.

Element Structure

Elements
  • ModifiedPropertiesType EventProperties: [request] Optional expression that specifies the properties to be set on the custom event.
Attributes
  • String classId: [request] Required expression that specifies the class symbolic name or class GUID of the custom event.

Code Example

RaiseEventAction objRaiseEvent = new RaiseEventAction();
objRaiseEvent.classId = "{8ca080f0-7a39-4e26-9e1f-25a8f12b4d52}";
objRaiseEvent.EventProperties = new ModifiablePropertyType[1];
objRaiseEvent.EventProperties[0] = new SingletonString();
objRaiseEvent.EventProperties[0].propertyId = "CustomProperty1";

XML Schema

<xsd:complexType name="RaiseEventAction">
   <xsd:complexContent>
      <xsd:extension base="ActionType">
         <xsd:sequence>
            <xsd:element minOccurs="0" name="EventProperties" type="ModifiedPropertiesType"/>
         </xsd:sequence>
         <xsd:attribute name="classId" type="xsd:string" use="required"/>
      </xsd:extension>
   </xsd:complexContent>
</xsd:complexType>