This commit is contained in:
2021-08-19 18:26:31 +00:00
parent fe4f624b3c
commit 3988e97fa6

View File

@@ -502,10 +502,13 @@ namespace AyaNova.PlugIn.V8
try
{
dynamic d = new JObject();
d.fromId = 1;
d.toId = 1;
d.name = "V8 Migrate - post migrate log and instructions";
d.notes = "Hello, this is an automated memo from the v8 migrate utility.\n\nHelpful information:\n\nChanges in AyaNova 8 for users:\n"
dynamic dmemo = new JObject();
dynamic duserid = new JArray();
dmemo.fromId = 1;
dmemo.toId = 1;
dmemo.name = "V8 Migrate - post migrate log and instructions";
dmemo.notes = "Hello, this is an automated memo from the v8 migrate utility.\n\nHelpful information:\n\nChanges in AyaNova 8 for users:\n"
+ util.ApiBaseUrl
+ "docs/ay-start-changes-from-v7/\n\nTechnical changes in AyaNova 8 for system administrators:\n"
+ util.ApiBaseUrl
@@ -514,10 +517,13 @@ namespace AyaNova.PlugIn.V8
+ "docs/ay-biz-admin-import-v7/\n\n\nLog:\n######## V8 Migrate log ########\n"
+ progress.AllText
+ "\n################################\n";
d.replied = false;
d.sent = util.DateToV8(DateTime.UtcNow.ToString("o", System.Globalization.CultureInfo.InvariantCulture));
d.viewed = false;
d.wiki = null;
dmemo.replied = false;
dmemo.sent = util.DateToV8(DateTime.UtcNow.ToString("o", System.Globalization.CultureInfo.InvariantCulture));
dmemo.viewed = false;
duserid.Add(-7);//special code to server to treat as an import single
d.users = duserid;
d.memo = dmemo;
await util.PostAsync("memo", d.ToString());
}