Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Common Types → FileObj-Action
The FileObj-Action enumeration is used to perform an update against a File or URL field.
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. |
Specify an integer (1-4) as the type of action to perform in the UpdateFileField or UpdateURLField calls.
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>
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.