You can configure Web Page Composer (WPC) to be a content provider for enterprise workspaces. To enable adding Web Page Composer content to the content galleries of enterprise workspaces, you need to configure the following:
In enterprise workspaces: configure Web Page Composer as a content provider. Enterprise workspaces provides an out-of-the-box configuration.
In Web Page Composer: configure where the content will be available in enterprise workspaces. For example, in which types of workspaces - shared, or personal; and in which content galleries - Module Gallery, Application List, or Report List. To configure these properties, you need to add them to Web Page Composer:
For existing Web Page Composer content items, you can add custom enterprise workspace properties to a folder in Knowledge Management (KM) and configure them at the folder level. All content items in this folder inherit the configuration automatically.
For new Web Page Composer content items, you can add the enterprise workspace properties to the Web Page Composer editor, and they need to be configured individually for each item.
Knowledge Management (KM) is installed on your system.
Web Page Composer is installed on your system.
You are assigned the Workspace Content Administration role.
You are assigned the portal System Admin role.
In the portal, navigate to
.In the Content tab, locate the Content Providers - WPC Properties group.
You can configure values for the following properties:
Property |
Description |
---|---|
WPC Source Folder |
Source folder in Web Page Composer from which to retrieve the content. |
Supported File Types |
A list of file types supported by Web Page Composer, in the following format: <content type>=<PCD ID of the viewer used to run this content type> |
Namespace of Custom Properties |
Namespace of the custom Web Page Composer properties ( Image URI, Workspace Types, Available In, Module Categories). |
Exclude From Module Gallery |
Name of the custom property in Web Page Composer that you need to add to a specific content item, to prevent it from inheriting enterprise workspaces properties from a parent folder. Default value: exclude. |
Image URI |
Name of the custom property in Web Page Composer used to set the icon to display with the item. Default value: IconURI. |
Workspace Types |
Name of the custom property in Web Page Composer used to specify the workspace types (shared, or personal) in which the item is available. Default value: WorkspaceTypes. |
Available In |
Name of the custom property in Web Page Composer used to specify where the item is available: Module Gallery, Application List, Report List. Default value: AvailableIn. |
Module Gallery Categories |
Name of the custom property in Web Page Composer used for setting the module categories under which to display the item. Default value: ModuleCategories. |
Choose Save.
For existing Web Page Composer content items:
In the portal, navigate to
.In Topic Area, select .
To the all_groups property group, add EnterpriseWorkspaces to the list of items in the Group Items field.
This adds a tab named EnterpriseWorkspaces to the properties of all KM content. This tab contains the following properties, which correspond to properties of a module template:
Property |
Description |
Possible Values |
---|---|---|
AvailableIn |
Specifies where to display the item: Module Gallery, Application List, Report List. The Application List and Report List are part of the Link List Gallery |
gallery, appList, repList |
WorkspaceTypes |
Specifies whether an item is available for personal workspaces, shared workspaces, or both. |
personal, shared |
ModuleCategories |
Specifies under which module categories to display the item. |
administration, applications, collaboration, content, reports, tools |
IconURI |
Specifies the icon to display for the item. |
Relative path to icon |
Save your changes.
In the relevant KM folder, enter the desired property values.
You must enter the values exactly as they appear in the table above.
All content items in the folder inherit the configuration, and are displayed in enterprise workspaces content galleries according to this configuration.
To prevent a specific content item from being displayed in enterprise workspaces, add the Exclude from Module Gallery custom property to the item.
For new Web Page Composer content items:
Add the following properties to the custom Web Page Composer content editor of type XML:
<property id="workspacetypes" description="AVAILABLE_FOR" type="selecttype" isrequired="false" property="wpc_workspaces_type" /> <property id="availablein" description="AVAILABLE_IN" type="selectavailability" isrequired="false" property="wpc_workspaces_availability" /> <property id="spacescategories" description="GALLERY_CATEGORIES" type="selectcategories" isrequired="false" property="wpc_workspaces_categories" /> <property id="workspaceicon" description="MODULE_ICON" type="imageselect" isrequired="false" property="wpc_workspaces_iconURI" />
As a result, a set of enterprise workspaces options is added, in GUI format (check box options), to the Web Page Composer editor based on this type.
Do not add these properties to an out-of-the-box Web Page Composer content item because the properties will not be translated.
For information on translating Web Page Composer content items, go to http://www.sdn.sap.com/irj/scn/, navigate to and in the How To Create New Web Forms guide, see the section on Changing and Translating labels for Web Content.
Select the desired options:
Available for workspaces - Personal, Shared
Appears in - Module gallery, Application list, Report list
Module categories - Administration, Applicaitons, Collaboration, Content, Reports, Tools
If you do not select any of the check boxes, the item will not be available in enterprise workspaces.