Embed external content in a content area

Content of external URLs can be displayed as content item on a content page of a content area. External URLs are added ReadOnly to the user interface in an iframe using sandboxing security rules.

  • The Alfabet Web Application must bevcconfigured to allow access to the external content . In the alfasettings.json configuration file of the Alfabet web application, access to the URL must be defined in the fields of the AlfabetWebConfig JSON object.
  • The external URL must be embeddable.
  • The external URL is accessible without login.

External content can be added to a content item in three ways:

You can specify only one of the above listed methods in a single content item. If you use more than one of the above listed specifications in the same content item, only one of the specifications is valid. Specification of an object class property supersedes all other specifications. A direct specification of a URL in the content item supersedes the external link object specification.

  1. Right-click the content page node in the explorer and select Add External View.
  2. Click the new content item node and define the attributes:
    • Set one of the attributes in the External View Configuration section to define the embedded URL:
      • External Link: Select an external link object that specifies the URL.
      • Url: Enter a URL in the field.
      • Url Property: Select an URL property of the object class the content area is defined for.
    • Caption: Optionally define a caption for the content item in the content area item. By default, no caption is displayed.
    • Width and Height: You can change the default width and height to enlarge the content item. A better method for re-sizing is available directly via the web-based content area designer.
    • Default Visibility: Set the attribute to Hidden if the content item shall not be visible directly in the content page but only available via the content repository.

      For customers migrating from Alfabet 11.8 to Alfabet 11.10 the attribute will be set to Hidden for content pages which were in Alfabet 11.8 available in the configuration in Alfabet Expand but hidden in the default configuration.

    • Visibility Conditions: If you want the content item to be only visible under specific circumstances, you can define a condition element testing whether the specific circumstances apply. You can then select the condition element in this attribute. The content item will be visible if the condition applies. For example, a condition specifies that the content item shall only be visible for users in user group B. The condition checks the user group configuration for the current user at runtime and hides the content item if the user is not a member of user group B.
    •  Load on Update: Do not re-set this attribute. If data is changed in the content page containing the external view, a re-load of the external view is not required because it shows no object data.