This commit is contained in:
2020-05-04 16:17:07 +00:00
parent ff98f938a7
commit 1c45005c86

View File

@@ -351,7 +351,7 @@ namespace AyaNova.PlugIn.V8
private async System.Threading.Tasks.Task ExportUsers(ProgressForm progress) private async System.Threading.Tasks.Task ExportUsers(ProgressForm progress)
{ {
if (!progress.KeepGoing) return; 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 //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"); var ocf = ObjectHasCustomFieldDataToExport("User");
@@ -419,7 +419,7 @@ namespace AyaNova.PlugIn.V8
var ObjectTID = new TypeAndID(RootObjectTypes.User, c.ID); var ObjectTID = new TypeAndID(RootObjectTypes.User, c.ID);
dynamic d = new JObject(); dynamic d = new JObject();
d.name = c.FirstName + " " + c.LastName; d.name =GetUniqueName(c.FirstName + " " + c.LastName);
progress.Op("User " + d.name); progress.Op("User " + d.name);
d.userType = (int)c.UserType; d.userType = (int)c.UserType;