FileObj-Action

Description

The FileObj-Action enumeration is used to perform an update against a File or URL field.

Parameters

Name Type Description
UNDEFINED string Undefined.
NEW-ONLY string Will only add a URL or file if not already present.
UPDATE-ONLY string Will only update a URL or file if present, but will NOT add.
NEW-UPDATE string If present will add a URL or file; otherwise, it will update the existing entry.
DELETE-OBJECT string Flags a URL or file to be deleted.

Usage

Specify an integer (1-4) as the type of action to perform in the UpdateFileField or UpdateURLField calls.

XML

The following XML shows FileObj-Action in the <urn:action> element of a typical call.

<urn:urlObject>
    <urn:id></urn:id>
    <urn:uuid></urn:uuid>
    <urn:name>acme</urn:name>
    <urn:action>NEW-ONLY</urn:action>
    <urn:contents>http://www.acme.com</urn:contents>
</urn:urlObject>