PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Description associated with a page
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Description is used to find out and modify the description associated with the page. The description may be truncated when it is displayed in the search result. The description can also be entered from the page editor.
For the AWP pages, Description is used to dynamically enter the description associated with the page (according to the page content for instance).
Example
// Modifies the description of the page according to its content
MyPage.Description = "Sale of boats in row"
Syntax

Finding out the description associated with a page Hide the details

<description from page> = <Page manipulated>.Description
<description from page>: Character string
Sentence used to describe the page.
<Page manipulated>: Page name
Name of the page to analyze.

Modifying the description associated with a page Hide the details

<Page manipulated>.Description = <description from page>
<Page manipulated>: Page name
Name of the page for which the description must be defined.
<description from page>: Character string (with quotes)
Description that must be associated with the page. This sentence must encourage the Web users to visit the page. This string must comply with the following rules:
  • No CR character (Carriage Return)
  • Be short (up to 200 characters)
Remarks

Description associated with a page

The description associated with a page is written in the HTML header of the page (<META NAME="Description" CONTENT="..."> tag). This description is used by the search engines: this value is displayed as page description in the list of search results.
The description must be defined in the initialization code of the page. Furthermore, to be efficient, the description must be defined on pages accessible via a URL in the following format: "http://".
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment