Home page administrative commands
Use the commands listed to administer the Home page application.
Home page commands
The following sections define the commands that you can use when you are working with the Home page application. Each section describes the commands for a specific service. The commands are listed in alphabetical order.HomepageCellConfig commands
- HomepageCellConfig.checkInGettingstartedConfig("working_directory", "cell_name")
-
Checks in the configuration files for the Getting Started wizard where the working_directory and cell_name parameters contain the same values you specified for the checked out location. See the description for the HomepageCellConfig.checkOutGettingstartedConfig command for more information.
- HomepageCellConfig.checkOutGettingstartedConfig("working_directory","cell_name")
- Checks out the configuration files for the Getting Started wizard where:
- working_directory is the temporary working directory to which the
configuration XML and XSD files are copied and are stored while you change them. Use forward slashes
to separate directories in the file path, even if you are using the Microsoft™
Windows™ operating
system.Note: AIX®, and Linux™ only: The directory must grant write permissions or the command does not run successfully.
- cell_name is the name of the WebSphere® Application Server cell that hosts the IBM®
Connections application. This argument is case-sensitive, so type it with care. If you do not know
the cell name, you can determine it by typing the following command in the wsadmin command
processor:
print AdminControl.getCell()
- AIX/Linux:
HomepageCellConfig.checkOutGettingstartedConfig("/opt/act/temp","foo01Cell01")
- Microsoft™ Windows™:
HomepageCellConfig.checkOutGettingstartedConfig("c:/act/temp","foo01Cell01")
- working_directory is the temporary working directory to which the
configuration XML and XSD files are copied and are stored while you change them. Use forward slashes
to separate directories in the file path, even if you are using the Microsoft™
Windows™ operating
system.
HomepagePersonService commands
- HomepagePersonService.resetWelcomeFlagAllMembers()
Forces the Getting Started view to be the default Home page view for all users.
- HomepagePersonService.resetWelcomeFlagMemberByEmail(String email)
Forces the Getting Started view to be the default Home page view for the user specified by email address.
For example:HomepagePersonService.resetWelcomeFlagMemberByEmail("jsmith@example.com")
- HomepagePersonService.resetWelcomeFlagMemberByLoginName(String loginName)
-
Forces the Getting Started view to be the default Home page view for the user specified by login name.
For example:HomepagePersonService.resetWelcomeFlagMemberByLoginName("Joe Smith")
- HomepagePersonService.resetWelcomeFlagBatchMembersByEmail(String fileName)
Forces the Getting Started view to be the default Home page view for the users listed in the specified text file. Define the people by adding one person's email per line.
For example:HomepagePersonService.resetWelcomeFlagBatchMembersByEmail("/opt/Homepage/emails.txt")
- HomepagePersonService.resetWelcomeFlagBatchMembersByLoginName(String fileName)
-
Forces the Getting Started view to be the default Home page view for the users listed in the specified text file. Define the people by adding one person's login name per line.
For example:HomepagePersonService.resetWelcomeFlagBatchMembersByLoginName("/opt/Homepage/logins.txt")