This commit is contained in:
2022-06-09 16:42:40 +02:00
parent 8af73bd7d7
commit b263d7d70e
7 changed files with 208 additions and 76 deletions

View File

@@ -110,7 +110,11 @@ Namespace Methods.GlobalIndexer.ImportFile
Dim oDynamicFilePath = GetVirtualPath(
pData.File.FileInfoRaw, oProfile.DynamicPath, User, oUserAttributes, oAutoAttributes)
Helpers.NewDynamicFolderForObject(oResponse.ObjectId, oProfile.DynamicPath, User.UserName, User.LanguageId)
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)
End If
Logger.Info("Collecting Attributes for ObjectId [{0}]", oResponse.ObjectId)