Book Image

Oracle APEX Cookbook : Second Edition

Book Image

Oracle APEX Cookbook : Second Edition

Overview of this book

Table of Contents (21 chapters)
Oracle APEX Cookbook Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a custom template


When you create a theme from scratch, you also have to link the templates to the theme. You can copy templates from another theme to your newly created theme. But you can also create new templates from scratch. We will create a new template in this recipe.

Getting ready

We can go on with theme 115 that we made in the first recipe, so make sure you already created this theme.

How to do it...

  1. In Application Builder, go to the application you are working on. After that, go to the Shared components.

  2. In the shared components page, click on Templates.

  3. Click on the Create button to start the wizard.

  4. In the next step you see nine types of templates. Select the Region template.

  5. Click on From scratch and click on the Next button.

  6. Enter a name for this new template, that is, cust_rep_reg. You can also select the theme this new template should be part of. And finally, select the template class. In our case, we select the Reports region. Click the Create button to finish the wizard...