In this post I will describe how easy is to consume your portal’s iView content in enterprise workspaces, or in other words how to create a module template from an iView.
Before we start, let’s explain what an iView is:
An iView is a portal semantic object that runs a specific portal component. An iView runs inside a portal’s page or a role.
So, what is a module template/instance?
A Module Template is basically an iView that is available for consumption inside a workspace. All of the module templates stored in a specific enterprise workspaces portal content folder (in PCD).
Enterprise workspaces come with a set of OOTB (out of the box) module templates, such as: Text Pad, Document List, Link List, Member List, etc. All module templates are managed (CRUD operations) through Workspace Administration -> Module Templates.
A module instance is an iView that runs inside a Workspace Page, represented as a delta link to the corresponding module template. A module instance is created when adding a module template to a Workspace instance, which can be done by drag & drop of a module template from the Module Gallery into a Workspace instance page or when creating a workspace from a workspace template that contains modules.
Creating a Module Template
There are several options for creating module templates:
Creating a module template from portal content
OK, let’s create a new module template from scratch:
First, develop a regular, basic portal application.
Deploy your application to the development or testing environment and create an iView from this application.
We have an iView; now let’s create a module template from it. Navigate to Workspace Administration -> Module Templates and choose the appropriate source under Create a Module Template.
In the left-side panel, browse to your iView, highlight it and click ‘Next’. In the next screen you will have to configure the new module template’s general properties.
Switch to the ‘Permissions’ tab and define the appropriate permissions for this module template, when finished, click on ‘Done’.
Congratulations! You have a new module template that will be available in the ‘Available Module Templates’ table.
Now, if you want to see this module template in your gallery you will have to clear the Content Providers cache.
To do so, go to ‘Workspace Administration -> Configuration -> Content’ and click on the ‘Clear All Caches’ button (located in the ‘Content Providers’ section)
That’s it, you are done! Now, all you have to do is go to your workspace and this module template will be available to be added!
Go back to: A Deep Dive into SAP NetWeaver Portal, Enterprise Workspaces (Main TOC blog)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
10 | |
10 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |