From 1c45005c8614e5efd9b501364191373427e5b23c Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 4 May 2020 16:17:07 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index a4a9d8f..ec26b9b 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -351,7 +351,7 @@ namespace AyaNova.PlugIn.V8 private async System.Threading.Tasks.Task ExportUsers(ProgressForm progress) { if (!progress.KeepGoing) return; - UsedNames.clear + ResetUniqueNames(); //Step 1: export the CustomFields to FormCustom if applicable so that when doing individual items we can export their custom data too var ocf = ObjectHasCustomFieldDataToExport("User"); @@ -419,7 +419,7 @@ namespace AyaNova.PlugIn.V8 var ObjectTID = new TypeAndID(RootObjectTypes.User, c.ID); dynamic d = new JObject(); - d.name = c.FirstName + " " + c.LastName; + d.name =GetUniqueName(c.FirstName + " " + c.LastName); progress.Op("User " + d.name); d.userType = (int)c.UserType;