Table of Contents

Class FileBlock

Namespace
Sage.CRM.Blocks
Assembly
SageCRMNet.dll

The FileBlock object provides access to external files that are not part of the system. It allows these files to appear as if they are part of the system and to be called upon using ASP in the same way as any other CRM page. Note that the files need to be formatted for HTML appearance. If you do not specify where the file is stored in the directory path property, the system looks for the file in the CRM Reports directory.

public class FileBlock : SageCrmBlock
Inheritance
FileBlock
Inherited Members

Constructors

FileBlock()

Initializes a new instance of FileBlock.

public FileBlock()

FileBlock(string)

Initializes a new instance of Block Name.

public FileBlock(string blockName)

Parameters

blockName string

Properties

DirectoryPath

Specifies the directory where the files are contained. If you do not specify the full directory path, the CRM Reports directory is assumed.

public string DirectoryPath { get; set; }

Property Value

string

FileName

Specifies the file name to be used by the File Block.

public string FileName { get; set; }

Property Value

string

ProperCase

Set true to use ProperCase.

public bool ProperCase { get; set; }

Property Value

bool

Translate

When set to true the block searches for filename_userslanguage. This allows different files to be shown to different users depending on the user's language.

public bool Translate { get; set; }

Property Value

bool

Methods

~FileBlock()

Destructor for FileBlock.

protected ~FileBlock()