Application.OptionsWorkgroup Method
Project Developer Reference |
Sets collaboration options.
Syntax
expression.OptionsWorkgroup(WorkgroupMessages, ServerURL, ServerPath, ReceiveNotifications, SendHyperlinkNote, HyperlinkColor, FollowedHyperlinkColor, UnderlineHyperlinks, SetDefaults, ServerIdentification, AllowTaskDelegation, UpdateProjectToWeb, PublishInformationOnSave, SetDefaultsMessaging, SetDefaultsWebServer, ManagerEmail, ConfirmationDialog, ChangesMarkAssnDirty)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
WorkgroupMessages | Optional | Long | The default for how project information is communicated to new resources. Can be one of the following PjWorkgroupMessages constants: pjNoWorkgroupMessages, pjWorkgroupViaEmail, pjWorkgroupViaEmailAndWeb, or pjWorkgroupViaWeb. |
ServerURL | Optional | String | The URL of the computer running Project Server. |
ServerPath | Optional | Due to changes in the Project object model, this argument is ignored. It is retained so that existing macros which use this argument do not cause errors. | |
ReceiveNotifications | Optional | Due to changes in the Project object model, this argument is ignored. It is retained so that existing macros which use this argument do not cause errors. | |
SendHyperlinkNote | Optional | Boolean | True if resources receive e-mail notification about new or changed assignments. |
HyperlinkColor | Optional | Long | The color of hyperlink text. Can be one of the following PjColor constants:
pjColorAutomaticpjNavy
pjAquapjOlive
pjBlackpjPurple
pjBluepjRed
pjFuchsiapjSilver
pjGraypjTeal
pjGreenpjYellow
pjLimepjWhite
pjMaroon
|
pjColorAutomatic | pjNavy | ||
pjAqua | pjOlive | ||
pjBlack | pjPurple | ||
pjBlue | pjRed | ||
pjFuchsia | pjSilver | ||
pjGray | pjTeal | ||
pjGreen | pjYellow | ||
pjLime | pjWhite | ||
pjMaroon | |||
FollowedHyperlinkColor | Optional | Long | The color of the followed hyperlink. Can be one of the PjColor constants. |
UnderlineHyperlinks | Optional | Boolean | True if Project underlines hyperlinks. |
SetDefaults | Optional | Boolean | True if the values specified become the defaults for new projects. |
ServerIdentification | Optional | String | Specifies how Project Web Access users are identified by Project Server. Can be one of the following PjAuthentication constants: pjWindowsUserAccount or pjUserName. The default value is pjWindowsUserAccount, if the user is logged on with a Microsoft Windows user account. |
AllowTaskDelegation | Optional | Boolean | True if Project Web Access users can delegate tasks to other resources in the project. The default value is True. |
UpdateProjectToWeb | Optional | Boolean | True if Project publishes new and changed assignments to Project Server after each save. If ServerURL is not specified, UpdateProjectToWeb is ignored. The default value is False. |
PublishInformationOnSave | Optional | Integer | Publishes information such as new and changed assignments or Project summary information (including the full project plan) to Project Server on every save. Value can be set to 0, 1, or 2. |
SetDefaultsMessaging | Optional | Boolean | True if the value specified in the Collaboration options for Project section, found on the Collaborate tab of the Options dialog box, is used as the default value for new projects. The default value is False. |
SetDefaultsWebServer | Optional | Boolean | True if the values specified on the Collaborate tab of the Options dialog box are used as the default values for new projects. The default value is False. |
ManagerEmail | Optional | String | A string representing the manager's e-mail address. The ManagerEmail argument corresponds to the E-mail address box on the Collaborate tab of the Options dialog box. |
ConfirmationDialog | Optional | Boolean | True if Project displays a dialog box confirming success each time you publish to Project Server. |
ChangesMarkAssnDirty | Optional | Boolean | True if Project updates resources' assignments when any task information changes. False if Project updates resources' assignments only when schedule-related fields change. If ServerURL is not specified, ChangesMarkAssnDirty is ignored. The default value is the value specified for "Publish New and Changed Assignments" updates resources' assignments when options on the Collaborate tab of the Options dialog box. |
Return Value
Boolean
Remarks
If an argument is omitted, its default value is specified by the current setting on the Collaborate tab of the Options dialog box.
Using the OptionsWorkgroup method without specifying any arguments displays the Options dialog box with the Collaborate tab selected.
See Also