Page.CreateContent Method
Called by the Administration Console to create content for the page.
Namespace: Microsoft.EssentialBusinessServer.Console.ObjectModel
Assembly: Microsoft.EssentialBusinessServer.Console.ObjectModel (in microsoft.essentialbusinessserver.console.objectmodel.dll)
Assembly: Microsoft.EssentialBusinessServer.Console.ObjectModel (in microsoft.essentialbusinessserver.console.objectmodel.dll)
The following code example shows how to initialize a new Page in a user-defined class and override the CreateContent method:
class AddinSample : Page
{
public AddinSample() : base(new Guid("6bee53dd-4eb8-4aeb-98a1-7af77a8bb449"), "DisplayName", "Description")
{
}
protected override PageContent CreateContent()
{
return PageContent.Create<TBusinessObject>(
listProvider,
listColumns,
listGroupings,
tasks);
}
}
A PageContent object is created by calling one of the Create methods of PageContent.
This method must be overridden in a user-defined class.
Community Additions
Show: