What would be the high level process for displaying a custom table in the angular web portal? Do we need to create APIs for the CCC_Tables?
You are correct you will need to create a custom API plugin.
namespace CCC.CompositionApi.Server.Plugin
{
public class CustomTablePlugin : IApiProviderFor<PortalApiProject>
{
public void Build(IApiBuilder builder)
{
builder.AddMethod(Method
.Define("customtable/demo")
.FromTable("CCCDemo")
.EnableRead()
.WithAllColumns());
}
}
You are correct you will need to create a custom API plugin.
namespace CCC.CompositionApi.Server.Plugin
{
public class CustomTablePlugin : IApiProviderFor<PortalApiProject>
{
public void Build(IApiBuilder builder)
{
builder.AddMethod(Method
.Define("customtable/demo")
.FromTable("CCCDemo")
.EnableRead()
.WithAllColumns());
}
}