SharePoint Integrator V4 - Online Help
SharePoint Integrator V4
Questions / Feedback?

UpdateList Method

Updates a property of a list.

Syntax

spsite.updateList(list, propertyName, propertyValue, [callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

The following are some valid list properties with descriptions:

AllowMultiResponsesSet to True to allow multiple responses to the survey.
DescriptionA string that contains the description for the list.
DirectionA string that contains LTR if the reading order is left-to-right, RTL if it is right-to-left, or None.
EnableAssignedToEmailSet to True to enable assigned-to e-mail for the issues list.
EnableAttachmentsSet to True to enable attachments to items in the list. Does not apply to document libraries.
EnableModerationSet to True to enable Content Approval for the list.
EnableVersioningSet to True to enable versioning for the list.
HiddenSet to True to hide the list so that it does not appear on the Documents and Lists page, Quick Launch bar, Modify Site Content page, or Add Column page as an option for lookup fields.
MultipleDataListSet to True to specify that the list in a Meeting Workspace site contains data for multiple meeting instances within the site.
OrderedSet to True to specify that the option to allow users to reorder items in the list is available on the Edit View page for the list.
ShowUserSet to True to specify that names of users are shown in the results of the survey.
TitleA string that contains the title of the list.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0