SPF Load Files – UpdateInstruction Reference

Here is a quick reference for the SPF UpdateInstruction loader command. The documentation is scattered across various places in the SPF printable guides, this gathers it all into one place.

<!-- 
IPropValues properties: 
    AddedInterfaces = Tilde-delimited list of interfaces to add to the object.
    PropValues = List of values to assign. Each value to assign is a triplet of
        Interface, Property Name, and Property Value; delimited with the \% pair.
        Multiple triplets are also delimited with the \% character pair, so ensure
        there are 3, 6, 9, etc. values if you split the string on the \% delimiter.
        E.g. <interface>\%<property>\%<value>~<interface>\%<property>\%<value>
IUpdateInstruction properties:
    RemovedInterfaces = Tilde-delimited list of interfaces to remove from the object.
    RemovedProperties = Tilde-delimited list of property names to remove from the object.
-->
    <UpdateInstruction>
        <IObject UID="Update_001" Name="Update_001" />
        <IRefObject RefClass="SPXEngineeringDocMaster" 
            RefUID="5ce5103d-51c0-46c6-a9de-d1065034af57" />
        <IUpdateInstruction 
            RemovedInterfaces="ISPFInterfaceOne~ISPFInterfaceTwo" 
            RemovedProperties="SPFPropNameOne~SPFPropNameTwo" />
        <IPropValues 
            AddedInterfaces="ISPFInterfaceThree~ISPFInterfaceFour" 
            PropValues="IObject\%Description\%New Description\%ISPFInterfaceFive\%ISPFPropNameThree\%New Value for Property Three" />
        <IInstruction/>
    </UpdateInstruction>