Method SetRemoteFolderColumnConfiguration
SetRemoteFolderColumnConfiguration(String, String, ColumnConfigurationContract, Boolean)
Set a remote folder column configuration
Declaration
void SetRemoteFolderColumnConfiguration(string connectionId, string remoteFolderPath, ColumnConfigurationContract columnConfiguration, bool setAsMasterConfiguration)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | remoteFolderPath | Remote folder path to set configuration. See also Path |
ColumnConfigurationContract | columnConfiguration | ColumnConfiguration to set |
System.Boolean | setAsMasterConfiguration | Set configuration as default for all users |
Remarks
If setAsMasterConfiguration
is true
, you need "SetMasterColumnConfiguration" access right. See also AccessRightsEnum
Examples
POST http://YourServerName/InfoShare/Json/RemoteFolder/SetRemoteFolderColumnConfiguration
Example for set a remote folder column configuration.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a",
"remoteFolderPath": "1eb9edb4-2ce0-e911-a94a-00155d290a08\\db8835d5-30e0-e911-a94a-00155d290a08",
"columnConfiguration": {
"Columns": [{
"PropertyTypeId": "01000a00-38a7-11d8-a902-0050bf427e8f",
"Width": -2 }],
"GroupedColumnIds": [],
"InheritProperties": true,
"ShowAggregateFunctions": false,
"ShowColumnFilters": false,
"ShowGroupsExpanded": false,
"SortedColumns": [] },
"setAsMasterConfiguration": true
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Root folder not found (10023) |
ServiceException | Folder not found {folderPath} (10025) |
ServiceException | Property type not found {propertyTypeId} (10034) |
ServiceException | Not enough rights ({accessOperationName}, {accessOperationId}) (10071) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |