Starts in:
1 DAY
4 HRS
40 MIN
27 SEC
Starts in:
1 D
4 H
40 M
27 S
Open Closed

How can I use Path key which is in the ExtraProperties column DocsProjects table as a relative path? #1511


User avatar
0
ElifKaya created

Hi,

I want to use relative path for ExtraProperties Path key and to save my document folder in my proeject solution as ....\src\TieredAppDocMod.Web\docs or something like this. What is the best way for me? Can you help me about this?

Now, I used like here but I want to change path with relative path? Should I override your GetFileSystemPath method or try to another method?

INSERT [dbo].[DocsProjects] ([Id], [Name], [ShortName], [Format], [DefaultDocumentName], [NavigationDocumentName], [MinimumVersion], [DocumentStoreType], [ExtraProperties], [MainWebsiteUrl], [LatestVersionBranchName], [ParametersDocumentName]) VALUES (N'12f21123-f08e-4f15-bedb-ae0b45939659', N'NMM (wwwroot relative path)', N'www', N'md', N'Index', N'docs-nav.json', NULL, N'FileSystem', N'{"Path":"C:\Users\XXXXX\source\repos\TieredAppDocMod\src\TieredAppDocMod.Web\wwwroot\docs"}', N'/', NULL, N'')

Thanks,


2 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi,

    Should I override your GetFileSystemPath method or try to another method?

    Yes, this may work. You can override or change ProjectFileSystemExtensions.GetFileSystemPath method.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06