This commit is contained in:
2022-06-09 18:05:31 +02:00
parent b263d7d70e
commit 19e356e0cf
8 changed files with 184 additions and 131 deletions

View File

@@ -110,9 +110,9 @@ Namespace Methods.GlobalIndexer.ImportFile
Dim oDynamicFilePath = GetVirtualPath(
pData.File.FileInfoRaw, oProfile.DynamicPath, User, oUserAttributes, oAutoAttributes)
If oProfile.DynamicPath <> String.Empty Then
Logger.Info("Generating DynamicPath for ObjectId [{0}]", oResponse.ObjectId)
Helpers.NewDynamicFolderForObject(oResponse.ObjectId, oProfile.DynamicPath, User.UserName, User.LanguageId, User.Language)
If oDynamicFilePath <> String.Empty Then
Logger.Info("Saving DynamicPath for ObjectId [{0}]", oResponse.ObjectId)
Helpers.NewDynamicFolderForObject(oResponse.ObjectId, oDynamicFilePath, User.UserName, User.LanguageId, User.Language)
End If