Versions Compared

Key

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

...

Panel
borderColor#0081C0
titleColor#0081C0

External Applications support Support for external applications was removed from XperienCentral in version R29.3.

...

  1. Select "<New replacement>" from the drop-down list. New fields will appear below.
  2. Define the following fields for the replacement:

    FieldDescription
    NameThe name of the replacement. This is the name that appears in the list of replacements in the WMReplacementsFilter on the "External Applications" tab.
    Source regular expressionA Java regular expression that defines the string to search for in the source (see regular expressions or examine the default XperienCentral replacements for more information).
    Replacement textThe text that will replace the search string found in the target. This must take the form of a Java regular expression. The replacement text can contain parameters that are replaced by XperienCentral, for example "self", "urlBase", and "wm_elementid".
    Result

    Replacement text that contains the page and property replacements. If there are no page or property replacements, the result is the same as the replacement text.

    WM — Make IMG absoluteTurns all relative URLs that link to an image into an absolute URL.
    WM — Make INPUT, type="image" absoluteTurns all relative URLs that link to an images as a button into an absolute URL.
    WM — Make SCRIPT, src="..." absoluteInserts a Javascript snippet.
    WM — Transform name normalclass"Normalclass" is a standard design template. With this replacement, the external application's appearance can be transformed using a customized design template.
    WM — Delete HTML headDelete the HTML HEAD from the external application, so the page's HTML HEAD will also be valid for the external application. This includes the HTML tag, the DOCTYPE tags, the LINK tags, and all the code between <HEAD> and </HEAD>.


  3. In the "Source regular expression" field, enter the regular expression that defines what the replacement transforms.
  4. In the "Replacement text" field, enter a regular expression that performs the replacement.
  5. Click [Apply]. The result of the replacement text appears next to "Result".

 

 




...

Replacement Examples

Suppose you retrieve the following HTML code from the external application:

...

<a$1@homepage@$2><img$3@logo@$4></a> 


Back to top