How to debug
It is possible to add logging code to an add-in. Use code like the following to define and use a logger object:
public IDictionary<string, string> GetItems(IContentMetadataFormDataProviderContext context)
{
// ...
var logger = this.AddInContext.CreateLogger("SomeLogger");
logger.Debug("SomeLogger debug message.");
// ...
}
The log messages are added to the LogEntry table in and can be reviewed via the Administration area in Portal.
Updated almost 8 years ago