The Public Mode used in Service Apps Apps

Last modified on 2022/05/28 10:53

Public mode is used to create Service Apps apps with the following types of pages:

  • Public page: This contains data accessible to all users with the app URL or shortcut without requiring user authentication
  • Private page: This contains data that requires user authentication

Operating principle

  • A Public profile is configured with certain parameters such as language, domain, time zone, date and number formats.
  • This is assigned to users via the user management.
  • Once a Public user is associated with an app, you can define the public and private pages for the app.
  • In public pages, data is displayed based on the Public profile and its configuration:
    • Service Manager data is restricted to the Public user's domain
    • The date/time is based on the Public user's time zone
    • Text is displayed in the Public user's language
    • Dates and numbers are displayed in the Public user's format
  • In private pages, data is displayed based on the configuration of the logged-in user.

Example

ExamplePublicMode

Customer portal containing both public and private pages

  • Portal home page: public page
     Apps - Example portal - not connected.png
    • It displays corporate indicators and provides access to the service catalog and knowledge base.
    • Any user can access it without logging in. 
    • Users are identified as guests.
    • Data is displayed based on the Public profile and its configuration. The display remains identical, regardless of the user.
       
  • Portal page 2: private page
             Apps - Example portal - connected.png
    • It displays a dashboard with My Incidents. Logged-in users will see a list of their own incidents.
    • The logged-in user is shown in the user information zone Apps - Authentication zone.png.
    • The data is displayed based on the configuration of the logged-in user, i.e. the user's language, date and number formats and time zone.
       
  • Portal page 3: private page
    • It is used to submit requests for services.
    • The data displayed is based on the configuration of the logged-in user.
EndExamplePublicMode

Notes

  • The configuration associated with the Public profile is defined by EasyVista. You cannot modify it.
  • The Public profile can be assigned to multiple users on the platform.
  • To define public pages, you must associate a Public user with the app. Open url.png See the procedure.
  • By default, all of the pages in an app are private, except for the home page which is automatically defined as a public page. This mode cannot be changed. 
  • If you associate the Public profile with a new user, the new user's configuration will be taken into account.
  • If the user with the Public profile is detached from the app, all of the pages will automatically become private again.
  • Private pages:
    • When users attempt to access a private page, the standard Service Apps login page will appear, except if SSO is used.
    • Once a user has logged in, the private page will appear and the user information zone Apps - Authentication zone.png will be updated with the logged-in user's information.
    • If a private page is defined as the home page, it will automatically become a public page.
  • Service Manager data in an app can be accessible in Public mode if the user with the Public profile associated with the app:
    • Is linked to a Service Manager account.
    • Is not linked to a Service Manager account, but the data sources based on an easyVista IT Service Manager connector were defined using a registered user (email address specified).

Procedure: How to define public pages in an app

Note: By default, all of the pages in an app are private, except for the home page which is automatically defined as a public page. This mode cannot be changed.

Step 1: Log in to the platform.

1. Log in to the platform using the App Center Manager profile.

2. Click Apps - Gallery - User Management icon.png Admin Panel.

Step 2: Define a user with the Public profile.

1. Click Apps - Admin panel - Users management icon.png Users Management.
The list of users authorized to access the platform will appear.

2. Select the Apps - Public user Profile.png Public User box next to the relevant user.
The modification will automatically be taken into account.
 

Step 3: Associate the Public user with the app.

1. Click Apps - Admin panel - Back to store icon.png Back to Store to return to the App Gallery.

2. Click Apps - Application properties icon.png next to the app to open the graphic editor.

3. Click Apps - Application properties icon.png to display the general properties.

4. Select the Public user from the Choose a Public User list.

5. Click OK.
 

Step 4: Define public and private pages in the app.

1. Click Apps - Manage pages icon.png in the Objects pane.
The list of existing pages will appear.

2. Click Apps - Public page icon.png to define a private page. Click Apps - Private page icon.png to define a public page.

Note: The home page of the app found at the top of the list is automatically defined as public. This mode cannot be changed.

Step 5: Test the app.

1. Click EVApps - GUI - Execute icon.png.
The app will appear in a new web browser tab.

2. Check that the app pages are correctly displayed.

  • Log in using a user with the Public profile. Next, log in using a user with access rights to the app.
  • Check that these two types of users can access the appropriate pages.
Tags:
Powered by XWiki © EasyVista 2022