Version

args Object structure

Property

Required

Type

Description

listName

See note

String

GUID of the SharePoint list (not the display name).

webUrl

See note

String

URL to the SharePoint site containing the list.

itemId

See note

String

ID of the SharePoint item to be edited.

attachments

No

Object

The attachments of the new item as filename:operation pairs (properties).

attributes

Yes

Object

The attributes of the new item as name:value pairs (properties).

Note

Note: Not required when using a custom form defined for a list, where you already have contextual information available from the user navigation through the UI.

args.attributes Object structure example

{'Title':taskName,'StartDate':sDate,'Priority':priority, Assigned_x0020_To':assigned}

Lookup Fields and Custom Data Types

For details about how to work with special fields like lookup, user, or URL refer to SPlusBridgeDataType.

args.attachments Object structure example

{filename1:'add',filename2:'update',filename3:'remove',filename4:'add'}