Share via


WebOptions.OrganizeInFolder Property (Publisher)

Returns or sets a Boolean value that specifies whether a Web publication will be saved in a flat structure or hierarchical structure. If False, all files in the Web publication will be saved in a flat structure within the root folder. If True, the files will be saved in a hierarchical structure within the root folder. The default value is True. Read/write.

Syntax

expression .OrganizeInFolder

expression A variable that represents an WebOptions object.

Return Value

Boolean

Example

The following example specifies that all files in the Web publication should be saved in a flat structure within the root folder.

Dim theWO As WebOptions 
 
Set theWO = Application.WebOptions 
 
With theWO 
 .OrganizeInFolder = False 
End With