User Guide

The Source Control Integration API optional functions 135
The showColumnList argument is a list of Boolean values that correspond to the Design
Note keys, which indicate whether Dreamweaver can display the key as a column in the
Site panel.
The noteCount argument is the number of Design Notes that are attached to a file or
folder; the
GetNoteCount() call returns this value.
The noteLength argument is the maximum length of a Design Note; this is the value
that the
GetMaxNoteLength() call returns.
Returns
A Boolean value: true if successful; false otherwise.
bool SCS_SetDesignNotes()
Description
This function stores the key-value pairs in the meta information for the specified file or folder.
This replaces the set of meta information for the file. If it is unsupported by the source control
system, Dreamweaver stores Design Notes in MNO files.
Arguments
void *connectionData, const char *remotePath, const char keyList[][64],
const char *valueList[], bool showColumnList[], const int noteCount,
const int noteLength
The connectionData argument is a pointer to the agents data that passed into
Dreamweaver during the
Connect() call.
The remotePath argument is the remote file or folder path that the DLL checks for the
number of items.
The keyList argument is a list of Design Note keys, such as "Status".
The valueList argument is a list of Design Note values that corresponds to the Design
Note keys, such as
"Awaiting Signoff".
The showColumnList argument is a list of Boolean values that correspond to the Design
Note keys, which indicate whether Dreamweaver can display the key as a column in the
Site panel.
The noteCount argument is the number of Design Notes that are attached to a file or
folder; this number lets the DLL know the size of the specified lists. If
noteCount is 0, all
the Design Notes are removed from the file.
The noteLength argument is the length of the largest Design note for the specified file
or folder.
000_DW_API_Print.book Page 135 Wednesday, July 20, 2005 11:58 AM