|
|
 |
 |
| AddBrowsePublisherDialog |
| |
Create a browse publisher field/dialog |
| |
| Library |
 |
module::publisher/webui.whlib |
| |
| Syntax |
 |
PUBLIC MACRO AddBrowsePublisherDialog (STRING groupname,STRING name,STRING label,INTEGER homesite,INTEGER currentid,BOOLEAN selectfiles,BOOLEAN restrictsite,RECORD ARRAY types) |
| |
| Description |
 |
A site dialog is a component (field with dialog) in a field group (use CreateFieldGroup to create one first). This function may only be used if the Publisher module is installed. |
| |
| Parameters |
 |
| groupname |
 |
Group to add this field to |
 |
| name |
 |
Name of the field to add |
 |
| label |
 |
Label to display |
 |
| homesite |
 |
Id of the site to use as base site (can be overridden in the path name, example: sitename:/path) |
 |
| currentid |
 |
Initial file/folder to use |
 |
| selectfiles |
 |
When set to TRUE files can be selected, when set to FALSE folders can be selected |
 |
| restrictsite |
 |
When set to TRUE the site can not be changed during the browse process |
 |
| types |
 |
A record array of file types to be shown in the dialog - when not filled in, only linkable file types will be available |
 |
|
| |
|
|
|
|