BuildJSONFileSpec method (WinStudio scripts)

Applies to

Description

This string can be used to generate file specification along with other properties. This string can be used as file specification to be passed with file server scripts API. The same is available in FileserverExtension method.

Syntax

BuildJSONFileSpec (string filePath, string fileName, string extensionsToFilter, string additionalPropsAsJSONString, bool forceDepth, bool useServerPath, int accessDepth,int recursiveDirDepth)

Example

public string BuildJSONFileSpec(
string filePath,
string fileName = "",
string extensionsToFilter = "",
bool forceCreateDir = false,
string additionalPropsAsJSONString = "",
bool useServerPath = true,
int accessDepth = -1,
int recursiveDirDepth = -1 

Remarks

Optionally, you can use the additionalPropsAsJSONString to set the Mongoose Document Type attributes in IDM Document Type.