<PackageReference Include="Relativity.Server.EventHandler.SDK" Version="17.4.2" />

Console

public class Console
Creates console instances.
public const string RefreshButtonName = "Refresh Page"

Name of a refresh button, defaults to Refresh Page.

public List<ConsoleButton> ButtonList { get; set; }

This method has been deprecated. Please use Items instead.

public List<string> HTMLBlocks { get; set; }

A list of HTML blocks that will be added to the page. All HTML blocks get wrapped in a hidden div. Note that the Items property may be used instead to inject HTML into the Console.

public List<IConsoleItem> Items { get; set; }

Gets or sets a list of console items.

public List<ScriptBlock> ScriptBlocks { get; }

A list of script text that will be added to the header of the rendered page.

public string Title { get; set; }

Gets or sets a title of a console.

public Console()

Initializes a new instance of the Console class.

Adds a collection of links to the console. A set of div tags contain and apply styles to the links.

Adds a refresh button to the console and returns the newly added refresh button so that it can be modified. The refresh button is disabled by default.

public void AddScriptBlock(string key, string script)

Adds a script literal to the rendered page. Your text should be enclosed in script tags.