The AddSection procedure of the syHomePageLayout form adds a section to the Home Page being created for a user.
AddSection, UserID, SectionID, DictionaryID, ColumnNumber, Visible
• 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 which section is being added to 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 |
• DictionaryID – An integer specifying the dictionary ID of the application hosting the Home Page. In all cases, use the constant DYNAMICS.
• ColumnNumber – An integer specifying the column into which the section will be placed. Use the value 1 or 2 for the column number.
• Visible – A boolean specifying whether the section will be displayed. The value true indicates the section will be displayed, while the value false indicates the section will be hidden.
You must define all sections for the Home Page. If you don’t want a section to be shown, use the Visible parameter to set its state to hidden.