Creating a public theme

When you have a theme that you want to use in more applications, you can create a public theme. Creating a public theme is actually copying a theme to the theme repository so that all applications can make use of it.

We will demonstrate how to create a public theme.

Getting ready...

Make sure you have access to the internal APEX workspace.

How to do it...

  1. Log on to the APEX internal workspace.
  2. Go to Manage Instance.
    How to do it...
  3. In the Manage Shared Components, click the Public Themes link.
  4. Click the Create button.
  5. In the workspace text field, enter the name of the workspace that owns the theme. You can use the button next to the text field to select a workspace from a list of available workspaces. Click Next.
  6. In the application select list, select the application where the theme was created. Click Next.
  7. In the Theme to Copy select list, select the theme that you want to make public. Click Next.
  8. In the Theme Number field, enter a number for the theme.
  9. In the Theme Name field, enter a name for the theme.
    How to do it...
  10. You can also enter a description in the Description text area but this is optional. Click Next.
  11. If everything is OK (no template class is missing) then click the Create Public Theme button.

The theme is now added to the Theme repository and every application can now make use of it. To test this, log on to a workspace, go to Shared Components | Themes, click the Create button, select From the Repository, and click Next. You will see something like the following:

How to do it...

How it works...

Themes that are created within an application are only available to that application. You can make an export of the theme and import it into another application. But it is much easier to make the theme public so that it is available to all applications and workspaces.

There's more...

Once you made a theme a public theme you cannot directly edit the theme. If you want to edit a public theme, create an application or go to an existing application, switch to the theme and edit the theme within the application, then create a new public theme from this edited theme.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.184.200