From a198932099f12e4a1cbe6260eb28d8fde2c51043 Mon Sep 17 00:00:00 2001
From: Markus Escher <m.escher@adito.de>
Date: Wed, 24 Jun 2020 10:30:03 +0200
Subject: [PATCH] #1058709 add dumm onInsert for SettingsEntity

---
 entity/Settings_entity/Settings_entity.aod                | 5 +----
 entity/Settings_entity/recordcontainers/jdito/onInsert.js | 1 +
 neonView/SettingsEdit_view/SettingsEdit_view.aod          | 6 ------
 3 files changed, 2 insertions(+), 10 deletions(-)
 create mode 100644 entity/Settings_entity/recordcontainers/jdito/onInsert.js

diff --git a/entity/Settings_entity/Settings_entity.aod b/entity/Settings_entity/Settings_entity.aod
index 1ca486ce5f..6480beddf6 100644
--- a/entity/Settings_entity/Settings_entity.aod
+++ b/entity/Settings_entity/Settings_entity.aod
@@ -9,10 +9,6 @@
     <entityProvider>
       <name>#PROVIDER</name>
     </entityProvider>
-    <entityField>
-      <name>TEST</name>
-      <title>Testfield</title>
-    </entityField>
     <entityField>
       <name>UID</name>
     </entityField>
@@ -21,6 +17,7 @@
     <jDitoRecordContainer>
       <name>jdito</name>
       <jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias>
+      <onInsert>%aditoprj%/entity/Settings_entity/recordcontainers/jdito/onInsert.js</onInsert>
       <recordFieldMappings>
         <jDitoRecordFieldMapping>
           <name>UID.value</name>
diff --git a/entity/Settings_entity/recordcontainers/jdito/onInsert.js b/entity/Settings_entity/recordcontainers/jdito/onInsert.js
new file mode 100644
index 0000000000..0ffdd02fcb
--- /dev/null
+++ b/entity/Settings_entity/recordcontainers/jdito/onInsert.js
@@ -0,0 +1 @@
+// TODO
\ No newline at end of file
diff --git a/neonView/SettingsEdit_view/SettingsEdit_view.aod b/neonView/SettingsEdit_view/SettingsEdit_view.aod
index 5c5b013f66..a18ae06e1b 100644
--- a/neonView/SettingsEdit_view/SettingsEdit_view.aod
+++ b/neonView/SettingsEdit_view/SettingsEdit_view.aod
@@ -15,12 +15,6 @@
       <hideEmptyFields v="false" />
       <entityField>#ENTITY</entityField>
       <isEditable v="true" />
-      <fields>
-        <entityFieldLink>
-          <name>603b25a8-c69c-468d-8323-40191f0c1d80</name>
-          <entityField>TEST</entityField>
-        </entityFieldLink>
-      </fields>
     </genericViewTemplate>
   </children>
 </neonView>
-- 
GitLab