Hi, { "totalCount":3, "items":[ { "name":"test1-20220125-103228-admin.txt", "isDirectory":false, "id":"ea2b322b-867f-a59f-861b-3a01a2c0ced4", "size":59, "iconInfo":{ "icon":"far fa-file", "type":"FontAwesome" } }, { "name":"test1-20220125-103418-admin.txt", "isDirectory":false, "id":"9e69689b-cf57-e441-e39a-3a01a2c1bac7", "size":59, "iconInfo":{ "icon":"far fa-file", "type":"FontAwesome" } }, { "name":"test1-20220125-103440-admin.txt", "isDirectory":false, "id":"8bfb42e6-8016-5eff-c010-3a01a2c33033", "size":59, "iconInfo":{ "icon":"far fa-file", "type":"FontAwesome" } } ] }
How to change type to 0?
Hello @enisn
I don't use much configuration. Only:
public static void ConfigureFileManagement(this ServiceConfigurationContext context)
{
var configuration = context.Services.GetConfiguration();
context.Services.Configure<AbpBlobStoringOptions>(options =>
{
options.Containers.Configure<FileManagementContainer>(c =>
{
var isAzure = bool.Parse(configuration["Azure:IsEnabled"]);
if (isAzure)
{
c.UseAzure(azure =>
{
azure.ConnectionString = configuration["Azure:BlobStorage:ConnectionString"];
azure.ContainerName = configuration["Azure:BlobStorage:ContainerName"];
azure.CreateContainerIfNotExists = true;
});
}
else
{
c.UseDatabase();
}
});
});
}
And
FileManagementDbProperties.DbSchema = "Abp";
FileManagementDbProperties.DbTablePrefix = "";
I didn't change anything regarding icons.
It helped! Thanks!