The AddSubSection procedure of the syHomePageSubSection form adds a subsection to the specified section of the Home Page being created for a user.
AddSubSection, UserID, SectionID, SubSectionID, DictionaryID, Visible, UserDefined
• UserID – A string that specifies the user for which the new Home Page is being created.
• SectionID – A constant defined for the syHomePageMain form that specifies to which section the sub-section is being added to for the Home Page. The value corresponds to one of the following constants:
Constant |
Description |
---|---|
METRICS |
The Metrics section of the Home Page |
MYREPORTS |
The My Reports section of the Home Page |
OUTLOOK |
The Outlook section of the Home Page |
QUICKLINKS |
The Quick Links section of the Home Page |
TODO |
The To Do section of the Home Page |
• SubSectionID – A constant defined for the syHomePageMain form that specifies the sub-section being added. The value corresponds to one of the following constants:
Section |
Constant |
Description |
---|---|---|
Outlook |
CALENDAR_SUBSECTION |
The Outlook Calendar |
INBOX_SUBSECTION |
The Outlook Inbox |
|
To Do |
REMINDERS_SUBSECTION |
The Dynamics GP Reminders |
TASKS_SUBSECTION |
The Dynamics GP Tasks |
• DictionaryID – An integer specifying the dictionary ID of the application hosting the Home Page. In all cases, use the constant DYNAMICS.
• Visible – A boolean specifying whether the sub-section will be displayed. The value true indicates the sub-section will be displayed, while the value false indicates the sub-section will be hidden.
• UserDefined – A string parameter that isn’t currently used. Use the empty string ("") for this parameter.
You must define all sub-sections for the Home Page. If you don’t want a sub-section to be shown, use the Visible parameter to set its state to hidden.