This component is a window corresponding to an intranet or Internet site. You access it as if you had opened it in another session of the browser.
To configure an element, click on the icon
and fill in the various settings.
- Title: Component header,
- Display the name: Display or do not display the name of the component in view mode,
-
URL of the site to be displayed: The full address of the site, as entered in the browser's "Address" field. Interpretable settings can be added from the application data,
- Examples of interpretable settings: https://AdresseWebDuSite/user={loggedUser.actor.code}, https://AdresseWebDuSite/{loggedUser.actor.site.id}/{loggedUser.actor.name}
- Interpret settings: Is used to define the URL settings to be interpreted or otherwise,
-
URL of the interpreted site: Is used to display the interpreted URL. This field is read-only and is only displayed if the "Interpret settings" box is checked.
- Example of interpreted setting: https://AdresseWebDuSite/user=DEMO, https://AdresseWebDuSite/null/{loggedUser.actor.name}
Error management:
If the "Interpret settings" option is enabled, a check is performed at the output of the "URL of the site to be displayed" field.
Two types of errors may occur:
1. The setting entered is not recognized, such as, for example, the name of an unknown attribute:
{loggedUser.actor.name} : Property [name] not found on type [com.carl.xnet.system.backend.bean.ActorBean]
2. The setting entered is recognized but contains a null value in the user context:
{loggedUser.actor.site.id} : A NULL interpretation was interpreted in the user context
In view mode, the icon

next to the title is used for a full-screen display of the element's content.
To return to the initial state, simply click on the icon

.
Creating a specific page
In order for an html page that you have created locally to be accessible to all users, you can save it on the CARL Source server.
Option 1 - If you have access to the CARL Source server
- In the webapps\gmaoCS02 directory of the Tomcat® instance corresponding to your application, create a new directory, for example "docs",
- Put the html page in this directory; for example "myPage.html",
- In the site component, the URL will be /gmaoCS02/<created folder>\<html file>, that is, for example: /gmaoCS02/docs/myPage.html.
The default context "gmaoCS02" may have been changed at the time of installation.
In that case, replace "gmaoCS02" with your CARL Source access context.
Option 2 - By creating a document in the library
- In the library, create an attachment document called "Stored file" corresponding to the html page,
- Once the document has been saved, open the context-sensitive menu (right click) on the "File/URL" link and choose "Copy shortcut",
- In the URL field of the site component, paste the copied shortcut.