Käyttäjän "gaoyao" toiminnot

Vastaus

/Pages/Identity/OrganizationUnits/Index.cshtml The original code is wrong because IndexModel @using Volo.Abp.Identity.Web.Pages.Identity.Roles it should be using OrganizationUnits,.it affects abp-style-bundle 、 abp-script-bundle and I have fixed it it by by changing to @using Volo.Abp.Identity.Web.Pages.Identity.OrganizationUnits

Vastaus

Volo.FileManagement Module

When configure the AbpDistributedEntityEventOptions in the ConfigureServices

    options.AutoEventSelectors.AddAll();

It cause AutoMapper.AutoMapperMappingException Mapping types:DirectoryDescriptor -> FileDescriptorEto\FileDescriptor -> FileDescriptorEto

So I have to create a profile class to fix it

 public class FileManagementMappingProfile : Profile
    {
        public FileManagementMappingProfile() 
        {
            CreateMap<FileDescriptor, FileDescriptorEto>();
            CreateMap<DirectoryDescriptor, FileDescriptorEto>();
        }
    }

Volo.FileManagement should configure AbpAutoMapperOptions to add this mappingfile

By the way,UploadFiles only support dropPast. It should support more ways, such as selecting files。

Vastaus

Thanks @cotur It's solved and displayed much better.If I want a simple online document preview function, for example: [http://view.officeapps.live.com/op/view.aspx?src= http://video.ch9.ms/build/2011/slides/TOOL-532T_Sutter.pptx]。 Src=“Document absolute path ”,Replace with /api/file-management/file-descriptor/download/fileId, I don’t know if it is possible, or there are other simpler ways

Vastaus

Volo.Forms

IQuestionAppService should implement  IApplicationService

Näytetään 11 - 14/14 tietueesta
Made with ❤️ on ABP v8.2.0-preview Updated on maaliskuuta 25, 2024, 15.11