Short Links
Short links can be viewed as an alias for a URL pointing to a page on the portal. Short links can be shared, for example, with colleagues or external partners, and help make it easier to find the desired page. A short link is easy to read. Users are therefore more likely to know what page they can expect when they click the link.
A pre-generated short link redirects the user via an HTTP redirect to the corresponding Intrexx page in the portal. The landing page can be located at any level of the portal pagege structure.
Create short links
In the Properties dialog for application pages, you can create any number of shortlinks on the "Shortlinks" tab.
Create a short link /
Edit a short link
Clicking this button allows you to create a new short link or edit an existing one.
Shortlink Properties
The first part (the first path segment) of the short link is a freely definable static text; the second part can be, for example, any parameter or another piece of static text. The path of a short link can consist of any number of segments.
Base Path
Enter the static text here—without a leading slash—that you want to use as the base path.
Segments
All segments that have been created are listed here.
Preview
The short link is constructed from the base path and segments and displayed here in the preview. It can be downloaded here and sent, for example, by email.
Add Segment
Opens a menu where you can choose whether to use static text or a page parameter —such as the GUID or STRID (primary key)—to identify the record on an input page that should be loaded when the shortlink is clicked. Selecting the parameter inserts it directly as a segment.
If a page's parameters are deleted, the application developer receives a notification. The relevant segments will be removed from the link, and the link can be edited again.
Selecting "Static Segment" opens a dialog box where you can create a new short link.
Create a segment
Enter the text here that you want to use as part of the short link, and click "OK."
Remove Segment
Deletes the selected segment from the list.
Up / Down
Changes the order of the segments.
Click "OK" to save the changes and close the dialog box.
Delete short link
Deletes the selected short link from the list.
Up / Down
Changes the order of the short links.
Use short links
Clicking on a short link opens the corresponding page. If placeholders are used instead of static segments, the placeholders must be replaced with specific values.
Examples
| Defined short link: | /Seminars/${Category} |
| Call via: | https://<server>/Seminars/Basics |
The ${Category} parameter can be used, for example, to filter the seminars offered by category.
| Defined short link: | /test/${STRID} |
| Call via: | https://<server>/test/<recordID> |
The short link loads the page on which it is defined, along with the corresponding data record.
Additional Information
When applications are deleted, the short links defined within them are also deleted. The following WebConnector configuration parameters are not compatible with the use of the short link feature:
-
connector.portalserver.scheme of the ConnectorServlet
-
connector.portalserver.schemeOverrideHeader of the ConnectorServlet
-
connector.portalserver.host of the ConnectorServlet
-
connector.portalserver.hostOverrideHeader of the ConnectorServlet



