Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

Where tenant logo is stored in Database and in which file folder? Also how to upload the tenant logo from the Admin UI? #8529


0
optixdev created

Angular + .Net Core

Where tenant logo is stored in Database and in which file folder? Also how to upload the tenant logo from the Admin UI?

From the below url I am able to fetch logo but this is default ASP.NET ZERO logo. remoteServiceBaseUrl + '/TenantCustomization/GetTenantLogo?skin=' + currentTheme.baseSettings.menu.asideSkin + '&tenantId=' + appSession.tenant.id + '&id=' + appSession.tenant.logoId


4 Answer(s)
  • 0
    musa.demir created
    Support Team

    As you can see here

    var logoObject = await _binaryObjectManager.GetOrNullAsync(tenant.LogoId.Value);
    return File(logoObject.Bytes, tenant.LogoFileType);
    

    it is stored in AppBinaryObjects table.

    Changing tenant's logo is not implemented but you can change and use that function for your needs: https://github.com/aspnetzero/aspnet-zero-core/blob/d71edc0cc4af0e6d99a86a32ea74fc69790cb53a/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/TenantCustomizationController.cs#L38-L80

  • 0
    optixdev created

    Github Page Not Found

  • 0
    musa.demir created
    Support Team

    It mean your github account does not have permission. Your ASP.NET ZERO account owner should login to aspnetzero.com, then go to https://aspnetzero.com/LicenseManagement page, open Github Member tab and add your github account.

  • 0
    musa.demir created
    Support Team