Hi,
I would like to add some infomration into the System Information modal, that is displayed when you click on the top-left Umbraco icon in the Backoffice:
After digging into the core code, here’s what I found:
The extensible path is ISystemTroubleshootingInformationService not the controllers. Both InformationServerController and TroubleshootingServerController are thin wrappers that just call a service and map the result, so they’re not the right place to extend.
To add custom keys (e.g. solution build number, Docker image tag) to the System Information modal without touching core, implement a decorator/wrapper around ISystemTroubleshootingInformationService:
public class CustomTroubleshootingInformationService : ISystemTroubleshootingInformationService
{
private readonly ISystemTroubleshootingInformationService _inner;
public CustomTroubleshootingInformationService(ISystemTroubleshootingInformationService inner)
=> _inner = inner;
public IDictionary<string, string> GetTroubleshootingInformation()
{
var items = _inner.GetTroubleshootingInformation();
items["Solution Build Number"] = "your-value-here";
items["Docker Image Tag"] = "your-value-here";
return items;
}
}
Then register it in your Composer after Umbraco’s registration so it replaces the default:
Your custom keys will appear under the “Server Troubleshooting” block in the existing modal no backoffice or core changes needed.
Note: if you specifically need the fields under “Server Information” (alongside Version/Runtime mode), that section has a fixed shape and would require core changes to ServerInformation, ServerInformationResponseModel,