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
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 is opened, 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. In 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. In the "Advanced" tab, check "Allow the search for expired pages".
  3. The configuration window is automatically displayed.
  4. Specify:
    • the start time of search for the expired pages. At the specified time, the application server will perform a search for expired pages in all dynamic WEBDEV sites managed by the server.
    • the email address of sender of alert email. The parameters of email recipients have been defined in the page description, in the editor.
    • the address and the port of SMTP server used to send emails. You can also specify whether the email spooler must be used.
    • the login and password of the user of SMTP server (for the servers with 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 the search for expired pages".
  4. Specify:
    • the start time of search for the expired pages. At the specified time, the application server will perform a search for expired pages in all dynamic WEBDEV sites managed by the server.
    • the email address of sender of alert email. The parameters of email recipients have been defined in the page description, in the editor.
    • the address and the port of SMTP server used to send emails. You can also specify whether the email spooler must be used.
    • the login and password of the user of SMTP server (for the servers with authentication).
  5. Click the "Apply" button to validate.
See also
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help