Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top
top
Excerpt
This section explains how to use the Setup Tool to configure and maintain settings crucial to the proper functioning of XperienCentral channels(s). These settings apply to all users who log in to XperienCentral.
 

In This Section

Table of Contents
maxLevel2
minLevel2

 

Companies with several business units, websites, brands, and extranets are often looking for ways to centrally manage all their outlets and initiatives from one application or platform. GX WebManager is designed to manage multiple websites and handle multi-channel publishing. It is possible to set up new web initiatives without installing additional hard- and software. In fact, every web initiative is a website with its own page structure and its own edit environment.

 

The added value of multiple web initiatives is the possibility to share and reuse information across multiple web initiatives. Media Repository articles that have been created in one web initiative can be reused in another web initiative. It is possible to specify exactly which functionality and content can be shared between which web initiatives.

 

This document describes how to set up extra web initiatives and how to share information between these web initiatives. Furthermore, it explains some additional functionality.

 

 

1     Creating a new web initiative

The steps below describe how to extend a GX WebManager installation with an extra web initiative. Some of these steps have to be taken by a system administrator and/or application manager due to some necessary configuration changes.

This document is intended for local environments and development environments. A multiple website setup for production environments can be performed with similar steps, but requires extra configuration of the web server(s) and possibly other software. Procedures for production environments are described in the Linux and Windows installation manuals for production environments.

 

Þ       Before creating a new web initiative, stop GX WebManager.

 

1.1   Generate hostnames

To create a second web initiative, two new hostnames are required: the hostname for the public website and the hostname for the editor environment (the generator). In this document www.mysecondsite.com and cms.mysecondsite.com will be used.

 

Þ       Add these hostnames to your ‘hosts’ file (C:\Windows\system32\drivers\etc\hosts on Windows computers) and point them to 127.0.0.1. For example:

127.0.0.1    www.mysecondsite.com

127.0.0.1    cms.mysecondsite.com

 

Þ       If you use a proxy server, add excludes for these hostnames in the proxy configuration of your browsers.

 

1.2   Request an updated configuration.xml

The configuration.xml is a file with a license key that also contains the valid hostnames for the installation. To create a new web initiative a new configuration.xml with the two new hostnames is required:

 

 

 

Þ       Send an e‑mail to developersupport@gx.nl to obtain a new configuration.xml. Do not forget to include the two new required hostnames in your e‑mail.

 

1.3   Update the configuration.xmls

The new configuration.xml file has to be saved in the following locations:

 

Þ       For local installations created with the .ZIP file:
<GX‑installdir>\webmanager‑webapps\webmanager‑backend‑webapp\target\webmanager‑backend‑webapp‑1.0‑SNAPSHOT\WEB‑INF\siteworks\
AND
<GX‑installdir>\webmanager‑webapps\webmanager‑backend‑webapp\src\main\webapp\WEB-INF\siteworks\

 

Þ       For local installations created with the .EXE file:
<GX‑installdir>\webmanager\webapps\backend\WEB‑INF\siteworks\

 

Þ       For production environments (depending on the configuration)
<GX-installdir>/configuration/

 

Tips:

  • Use the search function to locate these folders.
  • The right location can always be found in the GX WebManager Setup tool on the tab [General Configuration] search for the setting ‘config_filename’.

 

1.4   Create a new web initiative in GX WebManager

The steps to create a new web initiative:

 

Þ       Start GX WebManager.

 

Þ       Log in to GX WebManager.

 

Þ       Open the menu Configure > Web Initiative configuration.

 

Þ       In the pull-down menu ‘Select website’ choose the option ‘<new website>’.

 

Þ       A new window is opened with four steps to create a new web initiative.

 

Step 1 of 4: Name the new website

 

 

 

Fields

Description

Name

 

The name of the new web initiative.

Identifier

 

The identifier of the new web initiative.

Based on website

 

Choose a website here if all the parameters are similar to those of an existing website. It is recommended to base the new website on an existing website, because all the configuration settings (such as paths) will be duplicated.

 

Step 2 of 4: Configuration settings of new website

 

 

 

Fields

Description

Hostname

 

Choose the hostname of the public website.

Generator

 

Choose the hostname of the edit environment.

Default e-mail address

 

Default e-mail address for functionality such as the link checker.

Folder for uploads

 

Folder where uploaded files are stored.

Upload URL

 

Base URL of the uploaded files. Usually set to /upload/.

Folder for multimedia uploads

 

Folder where binary files are stored.

Multimedia Upload URL

 

Base URL of the uploaded binary files. Usually set to /upload_mm/.

Descriptor folders

 

Presentation JSPs are stored in folders. A task scans these folders for descriptor files. Multiple folders can be specified separated by semicolons. Usually set to /WEB‑INF/project/;/WEB‑INF/wm/jsp

Redirect base directory

 

The base folder of the static files.

 

Step 3 of 4: Create a new website

 

 

 

In step 3 you have to confirm that you want to create a new web initiative by clicking on the [Create website] button and confirming this choice for the second time.

 

Step 4 of 4: Confirmation

 

 

 

After a successful creation of the new web initiative (step 4) you can exit the wizard by clicking the [Close] button.

After completing the wizard, a new web initiative with one page, the homepage, has been created. You can now log in to the web initiative by accessing the URL by its new hostname (+port number) followed by /web/edit. With the example in this document, that would be http://cms.mysecondsite.com:8080/web/edit.

Note: The homepage of the new web initiative can only be viewed if the status will be set to ‘Published’. Otherwise visitors will see a blank page (in Firefox) or a message that the web page cannot be found (in Internet Explorer).

 

1.5   Optional: extending the folder structure

The configuration of the new web initiative can be extended or altered to deal with separate files or presentations.

 

1.5.1    Separating presentations

On large websites with multiple web initiatives it might be necessary to share common resources and (parts of) the presentation. In order to realize this:

  • There must be a central folder for the shared files and presentations, for example with the name common.
  • Besides the central folder, each web initiative also has its own folders for private files and presentations.

 

Example of a folder structure in a presentation WCB:

 

 

 

To be able to use this subdivision, some configurations have to be made in the Setup tool:

 

Þ       In the /web/setup tool, select the [Website specific setting] tab.

Þ       In the first web initiative, navigate to ‘presentation_jsps_url’. Enter the following folders:

  1.        /WEB-INF/%PACKAGE%.%WCB NAME%/<dir> (e.g., WEB-INF/project/nl.gx.solutions.userprofileextension/jsp)
  2.        /WEB-INF/wm/jsp/ (optional)              

Þ       Click on the ‘Update’ button for this web initiative.

Þ       For each web initiative, repeat the above steps by replacing ‘<dir>’ with the name of the folder in which the web initiative specific JSPs are located.

 

Explanation: In the /web/setup tool, the descriptor directories are listed in a particular sequence. This sequence also indicates which JSPs are used if there are more JSPs with the same name. For instance, if with above settings, a page.jsp exists in the common folder and a page.jsp exists in the website1 folder, then the page.jsp from the website1 folder will be used.

 

The static files can be placed in a similar way as the JSPs:

 

 

 

Finally, the uploaded files can be placed in separate folders. With this, the first web initiative can use the standard upload and upload_mm folders. Uploads for the second and subsequent web initiatives can be placed in a separate folder below the main folder.

 

 

In the Setup tool, also these paths can be set for each web initiative, on the [General Configuration] tab underneath the Configuration Set Definition “website_settings”, in the fields:

-       ‘file_upload_directory’ and ‘file_upload_url’ (for normal uploads)

-       ‘file_upload_mm_directory’ and ‘file_upload_mm_url’ (for Media Repository uploads)

 

2     Sharing content

2.1   Introduction

For organizations with several websites and multiple publication channels (multi-channel publishing) it is often essential to be able to manage content from a central location and to re-use it on multiple places. This means not only content but also web users, forms etc.

 

In a default installation with more than one web initiative all content is strictly separated. Content sharing is not done automatically. So, if this is wanted then some settings have to be changed. Most of these changes involve assigning different read/write permissions for different web initiatives. Editors of the various web initiatives must explicitly allow one another to read content and to re-use content. With explicitly assigned what to read per web initiative everything can be set up in a safe and flexible manner.

 

An important feature of shared content is that shared content can only be read on another web initiative. When for example an article is created in web initiative A then it can be displayed on web initiative B, but it can never be modified on web initiative B. This is to ensure that the rights of the author remain with the author. When different editors should be allowed to edit content on different web initiatives their user accounts have to be shared as well. Editor X on web initiative A must be shared and granted permission to work on web initiative B as well.

 

Note: In the following sections, ‘content’ is used in a broader context and is used as a synonym for content types, model types, settings, web users etc. Language labels don't belong to this form of content. Language labels are maintained in a single object pool that is valid for all websites.

 

2.2   Sharing and accepting

In order to share content between web initiative A and web initiative B the configuration has to be changed to be able to expose (‘Share’) the content of one web initiative with another, but also to receive (‘Accept’) the content from another web initiative.

 

Sharing content takes place in three steps. For each web initiative, specify the following:

  1. Which content types are available for sharing
  2. Which content should be shared with which other web initiative(s)
  3. Which content should be accepted from other web initiative(s)

 

Example: articles from the media repository must be shared between web initiative A and web initiative B, and editors on both web initiative A and B should be able to add new articles and to use each other’s articles on their website.

 

Step 1

Which content types are available for sharing is set up in Configure > Web Initiative configuration > [Functionalities] under ‘Shared model types’. In order to share the Media Repository the ‘Mediabank’ option has to be selected in the ‘Shared model types’ in Web Initiative A. This step must be repeated for web initiative B. You can use the ‘Select website’ dropdown list in the panel to switch to web initiative B.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Step 2 and 3

Sharing and accepting are configured in Configure > Web initiative configuration on the [Sharing / accepting] tab:

 

 

 

 

 

 

 

 

 

 

 

 

Short explanation:

-        Select websites (1): The current web initiative

-        Select websites (2): Filter to show only items of a specific web initiative.

-        Select model type: Filter to show only certain model types.

-        Share: Selection of items that this web initiative offers to other web initiatives; in the above screenshot, the content of the Media Repository (‘Mediabank’) is offered to the other web initiative (which has the name “WI B”).

-        Accept: Selection of items that have been accepted from other web initiatives. In the above screenshot the current web initiative has accepted all content from the Media Repository.

-        Share automatically: If this option is checked all sharable items of the selected model type (that are available) are automatically shared

-        Accept automatically: If this option is checked all sharable items of the selected model type (that are available) are automatically accepted

 

Note: ‘Share’ and ‘Accept’ do not always contain more items because this cannot always be configured at this level. In that case everything is shared or nothing is shared. Examples are the Media Repository and web users.

 

In order to share the media repository according to the example:

-       Web initiative A has to share the media repository with B

-       Web initiative A has to accept the media repository from B

-       Web initiative B has to share the media repository with A

-       Web initiative B has to accept the media repository from A

 

When this is completed the configuration looks like this:

 

Web initiative A (with the name “MyWeb”):

 

 

 

 

 

 

 

 

 

 

 

Web initiative B (with the name “WI B”):

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Entities with several business units, channels, brands, and extranets often want to centrally manage all their outlets and initiatives from one application or platform. XperienCentral is designed to manage multiple channels and handle multi-channel publishing. It is possible to set up new channels without installing additional hardware and/or software. Every channel has its own page structure and its own Workspace environment. The added value of multiple channels is the possibility to share and reuse information across those channels. Content Repository items that have been created in one channel can be reused in another channel. It is possible to specify exactly which functionality and content can be shared between which channels.

This topic describes how to set up extra channels and how to share information between these channels as well as some additional functionality. Some of the tasks have to be performed by a system administrator and/or application manager due to some core configuration changes. This topic describes both local and development environments. A multiple channel setup for production environments can be configured in a similar way, but it does require extra configuration changes to the web server(s) and possibly other software. Procedures for production environments are described in the Linux and Windows installation topics for production environments.

Before creating a new channel, stop XperienCentral (the web server).


In This Topic

Table of Contents
maxLevel2
minLevel2


...

Generate New Hostnames

To create a second channel, two new hostnames are required: the hostname for the public channel and the hostname for the Workspacer environment. In this document www.mysecondsite.com and cms.mysecondsite.com will be used as examples.

Add the new hostnames to your "hosts" file (C:\Windows\system32\drivers\etc\hosts on Windows computers) and point them to 127.0.0.1. For example:

127.0.0.1    www.mysecondsite.com
127.0.0.1    cms.mysecondsite.com

 If you use a proxy server, add excludes for these hostnames in the proxy configuration of your browsers.

Request an Updated configuration.xml from GX Software

The configuration.xml is a file with a license key that also contains the valid hostnames for your installation. To create a new channel, a new configuration.xml containing the two new hostnames is required - Send an e‑mail to developersupport@gxsoftware.com or contact your GX Software consultant in order to obtain a new configuration.xml. If you send an e-mail, do not forget to include the two new required hostnames

Update your configuration.xml

The new configuration.xml that you receive from GX Software has to be saved in the following locations:

<xperiencentral-root>\webmanager‑webapps\webmanager‑backend‑webapp\target\webmanager‑backend‑webapp‑1.0‑SNAPSHOT\WEB‑INF\siteworks\

and

<xperiencentral-root>\webmanager-webapps\webmanager‑backend‑webapp\src\main\webapp\WEB-INF\siteworks\


For production environments (depending on the configuration):

<xperiencentral-root>/configuration/


Tip

The correct location for the configuration.xml file can always be found in the XperienCentral Setup Tool on the General tab (the setting config_filename).


Back to top


...

Create a New Channel in XperienCentral

To create the new channel in XperienCentral, follow these steps:


  1. Start XperienCentral and log in.
  2. Navigate to Configure > Channel Configuration.
  3. Select "<new channel>" from the pull-down menu at the top of the panel, The New Channel wizard appears.

Step 1: Name the New Channel


Image Added


Configure the following fields:


SettingDescription

Name

The name of the new channel.

Identifier

The identifier of the new channel.

Based on channel

Choose a channel here if all the parameters are similar to those of an existing channel. We recommend that you base the new channel on an existing channel because all the configuration settings (such as paths) will be duplicated.



Step 2 of 4: Configuration Settings for the New Channel


Image Added


Configure the following fields:


Fields

Description

Hostname

The hostname of the public channel.

Generator

The hostname of the Workspace environment.

Default e-mail address

The default e-mail address for functionality that makes use of e-mail messages.

Folder for uploads

The folder where uploaded files are stored.

Upload URL

The base URL for uploaded files.

Folder for multimedia uploads

The folder where binary files are stored.

Multimedia Upload URL

The fase URL of the uploaded binary files.

Descriptor folders

The folders where the presentation JSPs are stored. A scheduled task scans these folders for descriptor files. Multiple folders can be specified separated by semicolons.

Redirect base directory

The base folder of the static files.



Note

The settings above can be modified in the General (R30 and older) tab of the Setup Tool after the channel has been created.


Step 3 of 4: Create the New Channel


Image Added


In step 3 you have to confirm that you want to create a new channel. Click [Create channel]. This operation could take a few moments. The new channel with one page, the homepage, has been created. You can now log in to the channel by accessing the URL by its new hostname (+port number) followed by /web/edit. Following the example in this topic, that URL is http://cms.mysecondsite.com:8080/web/edit.


Note
 By default, the home page of the new channel is not in the published state, therefore visitors who navigate to the frontend of that channel will see a blank page until you publish it.


Back to top


...

Extending the Folder Structure (Optional)

The configuration of the new channel can be extended or altered to allow separate files or presentations.

Separating Presentations

When managing multiple channels, it might be necessary to share common resources and (parts of) the presentation. In order to realize this, the following conditions must be met:

  • There must be a central folder for the shared files and presentations.
  • Besides the central folder, each channel also has its own folders for private files and presentations.


The following is an example of a folder structure in a presentation plugin:


Code Block
themeEclipse
<plugin JSP folder>/common/page/
                       /pagepart/
                       /element/
                       /etc
              /channel1/page/
                       /pagepart
                       /element
                       /etc
              /channel2/page/
                       /pagepart
                       /element
                       /etc


In order to be able to use this subdivision, you need to modify your configuration in the Setup Tool. On the General tab, navigate to the section "website_settings (x)" where x is the name of the channel you want to configure.

  1. For the first channel, enter the following folders for the setting presentation_jsps_url:

    /WEB-INF/%PACKAGE%.%WCB NAME%/<dir> (WEB-INF/project/nl.gx.solutions.userprofileextension/jsp, for example) where <dir> is the name of the folder where the channel-specific JSPs are located.
    /WEB-INF/wm/jsp/ (optional)

  2. Click [Save Changes].
  3. Repeat the above steps for each channel.


The descriptor directories are listed in a specific sequence. This sequence also indicates which JSPs are used if there are other JSPs with the same name. For example, if there is a page.jsp in the common directory and there is a page.jsp in the channel1 directory, then the page.jsp from the channel1 directory will be used.

The static files can be placed in a similar way as the JSPs:


Code Block
themeEclipse
…/presentationtype/static/common/images/
                                /stylesheets/
                                /scripts/
                                /…

…/presentationtype/static/channel1/images/
                                  /stylesheets/
                                  /scripts/
                                  /…

…/presentationtype/static/channel2/images/
                                  /stylesheets/
                                  /scripts/
                                  /…


Finally, the uploaded files can be placed in separate folders. In this way, the first channel can use the standard upload and upload_mm folders. Uploads for the second and subsequent channels can be placed in a separate folder below the main folder. For example:


Code Block
themeEclipse
backend/
/upload/                  for the first channel
/upload_mm/               for the first channel
/mysecondsite/upload/     for the second channel
/mysecondsite/upload_mm/  for the second channel


These paths can be set for each channel using the following settings:

  • file_upload_directory and file_upload_url (for normal uploads)
  • file_upload_mm_directory and file_upload_mm_url (for Content Repository uploads)


Back to top


...

Anchor
sharing_content
sharing_content
Sharing Content

For organizations with several channels and multiple publication channels (multi-channel publishing), it is often essential to be able to manage content from a central location and to reuse it in multiple places. This means not only content but also web users, forms etc. In a default installation with more than one channel, all content is strictly separated. Content sharing is not done automatically, so if you want to do this you have to configure it. Most of these configuration properties involve assigning different read/write permissions for different channels. Editors of the various channels must explicitly allow one another to read and reuse content. By explicitly specifying what can be read per channel, everything can be set up in a safe and flexible manner.

An important feature of shared content is that it can only be read on another channel. For example, when an article is created in channel A then it can be displayed on channel B, but it can never be modified on channel B. This ensures that the rights of the author remain with the author. When different editors are allowed to edit content on different channels, their user accounts have to be shared as well. Editor X on channel A must be shared and granted permission to work on channel B as well.


Note

In the following sections, the term "content" is used in a broader context and should be regarded as a synonym for regular content types, model types, settings, web users, etc. Language labels don't belong to this form of content. Language labels are maintained in a single object pool that is valid for all channels (see Language Labels).

Sharing and Accepting

In order to share content between channel A and channel B, the configuration has to be changed to be able to expose (share) the content of one channel with another as well as to receive (accept) content from another channel. Sharing content is configured in three steps. For each channel, specify the following:

  1. Which content is available for sharing.
  2. Which content should be shared with which other channel(s).
  3. Which content should be accepted from other channel(s).

In this example, we will configure two channels so that articles from the Content Repository are shared between channel A and channel B, and editors on both channel A and B are able to add new articles and to use each other’s articles on their channel.

Step 1

Which content types are available for sharing is configured in Configuration > Channel Configuration on the [Functionalities] tab under "Shared model types". In order to share the Content Repository, select it in the list. For example:


Image Added

Click [Apply]. The Content Repository is now shared in channel A. For example:


Image Added


Repeat this step for channel B.


Steps 2 and 3

Sharing and accepting are configured in Configuration > Channel Configuration on the [Sharing/Accepting] tab:


Image Added


On this tab you have the following fields:


Field

Description

(Filter block) Select channel

Select a channel to configure.

(Filter block) Select model type

Filter to show only specific model types.

(Share settings) Share

Select the models that you want to share.

(Accept settings) Accept

Select the models that you want to accept from the other channel.

Share automatically

If this option is selected, all sharable items of the selected model type (that are available) are automatically shared

Accept automatically

If this option is selected, all sharable items of the selected model type (that are available) are automatically accepted


In order to share the Content Repository in this example:

  1. Channel A has to share the Content Repository with Channel B
  2. Channel A has to accept the Content Repository from Channel B
  3. Channel B has to share the Content Repository with Channel A
  4. Channel B has to accept the Content Repository from Channel A

When this is completed the configuration looks like this:


Channel A

Image Added


Channel B

Image Added



Model Types

...

Below is a list of all model types that can be shared. When there are no comments for a model type, the individual items of a model type can be shared. For example, with the queries you can choose on a query level which queries are shared or not. 


Model

types

Type

Comment

Application integration: filter definitions

 


Applications

Applications


Content RepositoryThe entire Content Repository is always shared and not individual content types.
 

Form resources

Form resources and form

steps

Forms

 

steps

Form models

 


Form rules (all handlers)

 

User groups


Forms

Languages

 


Page section labels

 

Media repository

Always the entire media repository, no individual media items


Personalization

Both personalization expressions as well as personalization

models

Presentations

Note: only presentations and no presentation variants

Queries

 

Frameworks

 

Style cluster

 

Style properties

 

Frames

 

Languages

 

Frames

 

models

Presentations

Only presentations and no presentation variants

Queries


User groups

Web users

Always all

All web users

, no

are always shared and not individual web users.

...


Back to top

3     Multiple websites vs language switch


...

Multiple Channels versus Language Switch

For In organizations that publish content in several languages the question may arise how to accomplish this. The organization may either use more web initiatives multiple languages you can either use multiple channels or use the ‘language switch’ functionality. To make this decision for the shorter and longer term, the language switch functionality available in the Language Widget. The pros and cons are described below.

 

of both approaches are described in the table below.


Info

See Working with Language Versions in XperienCentral if you want to maintain multiple language versions of your channel(s).



Language Switch

Extra Channels

Language switch

Extra web initiatives

The site structure for

every website

all language versions of the channel is the same. Not all pages have to be translated or published.

Each

web initiative

channel has its own site structure.

Authorization per language is not possible. An editor can edit content in all the available languages.

Authorization is fully adjustable per

web initiative

channel. Each

web initiative

channel has its own

editing

edit environment.

All languages use the same presentation.

There are many ways to separate the design or

sharing

share parts of the design

between several web initiatives.

License is part of the ‘Versioning’ component.

between several channels.

No additional license is required to maintain multiple language versions of your channel(s), however it does require extra development work.

An additional license is

Additional licenses are

required for each extra

web initiative

channel.

 


For a straightforward one-to-one translation of a website channel and when the content is translated by the same group of editors, the natural choice would be the language switch. In cases where extra functionality is required or per language authorization is required the natural choice would be for each language, then you probably want to set up a separate web initiative channel and to use sharing and accepting to share content.

 

 

...


Back to top