A5WS_Get_Page_List Function

Syntax

Page_List as C = a5ws_Get_Page_List([* Request ])

Arguments

Page_List

A CR-LF delimited list of pages defined as allowed or login required in published project

Request

The Request variable. This system variable explicitly passes all request variables to the function.

Description

Get a List of Pages Currently allowed by the Web Security settings. Use in Web Dialog component

Discussion

The A5WS_Get_Page_list() function retrieves a list of pages for use in a drop down list control in a dialog component. The pages are those allowed or defined as needing login for the current project security. Typically used in the Server Activate event of a dialog component.

1. Display the Form > Properties menu page of the Dialog Builder.
2. Click in the Server Events > Activate property.

Example 

Note that Request is the name of a variable created by the Application Server.

Pagelist = A5WS_Get_Page_List(request)

Limitations

May only be used in a web component.

See Also