Forcing the Getting Started view to be the default Home page view
Using an administrative command, you can force the Getting Started view to be the default view for all users or a subset of users.
Before you begin
To use administrative commands, you must use the wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.
About this task
Procedure
- Start the wsadmin client from the following
directory of the system on which you installed the Deployment Manager:
where app_server_root is the WebSphere® Application Server installation directory and dm_profile_root is the Deployment Manager profile directory, typically dmgr01.app_server_root\profiles\dm_profile_root\bin
You must start the client from this directory or subsequent commands that you enter do not run correctly. For more information, see Starting the wsadmin client.
- Start the Home page Jython script interpreter.
- Use one of the following commands to force the Getting
Started view to be displayed for the specified users:
- 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")