diff --git a/packages/builder/src/components/backend/DataTable/ExternalDataSourceTable.svelte b/packages/builder/src/components/backend/DataTable/ExternalDataSourceTable.svelte
new file mode 100644
index 0000000000..75a5abed82
--- /dev/null
+++ b/packages/builder/src/components/backend/DataTable/ExternalDataSourceTable.svelte
@@ -0,0 +1,32 @@
+
+
+
diff --git a/packages/builder/src/components/backend/DataTable/buttons/EditIntegrationConfigButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/EditIntegrationConfigButton.svelte
new file mode 100644
index 0000000000..223fc8b6b1
--- /dev/null
+++ b/packages/builder/src/components/backend/DataTable/buttons/EditIntegrationConfigButton.svelte
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/builder/src/components/backend/DataTable/modals/EditIntegrationConfig.svelte b/packages/builder/src/components/backend/DataTable/modals/EditIntegrationConfig.svelte
new file mode 100644
index 0000000000..8bd8cecb51
--- /dev/null
+++ b/packages/builder/src/components/backend/DataTable/modals/EditIntegrationConfig.svelte
@@ -0,0 +1,69 @@
+
+
+
+
+
diff --git a/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte
new file mode 100644
index 0000000000..913e26f668
--- /dev/null
+++ b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte
@@ -0,0 +1,15 @@
+
+
+
diff --git a/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/index.svelte b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/index.svelte
new file mode 100644
index 0000000000..cdf7ba99f3
--- /dev/null
+++ b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/index.svelte
@@ -0,0 +1,52 @@
+
+
+
+
+
diff --git a/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte b/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte
index f064ff923c..3b9bf80dba 100644
--- a/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte
+++ b/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte
@@ -4,6 +4,7 @@
import { notifier } from "builderStore/store/notifications"
import { Input, Label, ModalContent } from "@budibase/bbui"
import TableDataImport from "../TableDataImport.svelte"
+ import TableIntegrationMenu from "../TableIntegrationMenu/index.svelte"
import analytics from "analytics"
import screenTemplates from "builderStore/store/screenTemplates"
import { NEW_ROW_TEMPLATE } from "builderStore/store/screenTemplates/newRowScreen"
@@ -19,6 +20,7 @@
let modal
let name
let dataImport
+ let integration
let error = ""
function checkValid(evt) {
@@ -35,6 +37,7 @@
name,
schema: dataImport.schema || {},
dataImport,
+ integration
}
// Only set primary display if defined
@@ -88,4 +91,8 @@
+
+
+
+
diff --git a/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte b/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte
index 1fdbe35151..bd9a58e874 100644
--- a/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte
+++ b/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte
@@ -3,6 +3,7 @@
import { notifier } from "builderStore/store/notifications"
import { DropdownMenu, Button, Input } from "@budibase/bbui"
import ConfirmDialog from "components/common/ConfirmDialog.svelte"
+ import IntegrationConfigForm from "../TableIntegrationMenu//IntegrationConfigForm.svelte"
import { DropdownContainer, DropdownItem } from "components/common/Dropdowns"
export let table
@@ -39,7 +40,7 @@
async function deleteTable() {
await backendUiStore.actions.tables.delete(table)
- store.store.actions.screens.delete(templateScreens)
+ store.actions.screens.delete(templateScreens)
await backendUiStore.actions.tables.fetch()
notifier.success("Table deleted")
hideEditor()
@@ -78,6 +79,9 @@
bind:value={table.name}
on:input={checkValid}
{error} />
+ {#if table.integration}
+
+ {/if}