ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Page
  • Overview
  • How to?
  • Defining the validity period of pages
  • Deleting the validity period
  • Configuring the Windows application server to manage the validity period
  • Configuring the Linux application server to manage the validity period
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Validity period of site pages
Overview
When creating a page, a validity period can be defined for this page.
For example, if a page is related to a specific event (a tradeshow, a promotion), this page must not be displayed anymore from a given date.
To prevent from forgetting it:
  • WEBDEV will inform the developer when opening the project according to a configurable frequency. A UI error will be automatically displayed.
  • The application server will send an email to a given address with a specific message.
The risks to forget are minimized.
How to?

Defining the validity period of pages

To define the validity period of a page:
  1. Open the page description.
  2. In the "Details" tab:
    • Specify the validity period of the page.
    • Click the "Configure the reminders" button. In the window that opens, specify:
      • the email address of the recipient of the reminder. If the WEBDEV Application Server is configured to find the expired pages, a reminder message will be automatically sent to this address.
      • the text added to the reminder message.
      • the date for sending the reminder (one week and one day before by default). This date will also be used to display a compilation error of UI. This compilation error will indicate whether the validity period of the page was reached.
  3. Validate

Deleting the validity period

To delete the validity period of a page:
  1. Open the page description.
  2. On the "Details" tab, delete the validity period of the page.
  3. Validate
WEBDEV - Server codeWindows

Configuring the Windows application server to manage the validity period

In order for the WEBDEV Application Server to check the validity period of the pages (version 140025 and later):
  1. Start the WEBDEV administrator if necessary.
  2. On the "Advanced" tab, check "Allow searching for expired pages".
  3. The settings window appears automatically.
  4. Specify:
    • the start time of the search for expired pages. At the specified time, the application server will search for expired pages in all dynamic WEBDEV websites managed by the server.
    • the email address of the alert email sender. The email recipient is defined in the page description, in the editor.
    • the address and port of the SMTP server used to send emails. You can also specify whether the email spooler should be used.
    • the SMTP server user's login credentials (for servers that require authentication).
  5. Validate.
WEBDEV - Server codeLinux

Configuring the Linux application server to manage the validity period

In order for the WEBDEV Application Server to check the validity period of the pages (version 140025 and later):
  1. Start the remote WEBDEV administrator if necessary.
  2. In the setting options, display the "Advanced parameters" and click the "Expired pages" tab.
  3. Check "Allow searching for expired pages".
  4. Specify:
    • the start time of the search for expired pages. At the specified time, the application server will search for expired pages in all dynamic WEBDEV websites managed by the server.
    • the email address of the alert email sender. The email recipient is defined in the page description, in the editor.
    • the address and port of the SMTP server used to send emails. You can also specify whether the email spooler should be used.
    • the SMTP server user's login credentials (for servers that require authentication).
  5. Click the "Apply" button to validate.
See also
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help