Skip to content

Commit 033dc1b

Browse files
committed
Update CustomTabPage.cs
Fixed bug that lost vdw schema
1 parent 5110e10 commit 033dc1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Virtual_EDW/CustomTabPage.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,9 @@ private void GenerateFromTemplate()
596596
// Compile the template, and merge it with the metadata.
597597
var template = Handlebars.Compile(localRichTextBoxGenerationTemplate.Text);
598598

599-
//string serializedMapping = System.Text.Json.JsonSerializer.Serialize(dataObjectMappingList);
600-
string jsonInput = File.ReadAllText(dataObjectMappingList.metadataFileName);
599+
//string jsonInput = File.ReadAllText(dataObjectMappingList.metadataFileName);
600+
601+
var jsonInput = System.Text.Json.JsonSerializer.Serialize(dataObjectMappingList);
601602
JsonNode deserializedMapping = System.Text.Json.JsonSerializer.Deserialize<JsonNode>(jsonInput);
602603

603604
var result = template(deserializedMapping);

0 commit comments

Comments
 (0)