diff --git a/src/Explorer/ContextMenuButtonFactory.tsx b/src/Explorer/ContextMenuButtonFactory.tsx index 3f6a795ee..16265dd4d 100644 --- a/src/Explorer/ContextMenuButtonFactory.tsx +++ b/src/Explorer/ContextMenuButtonFactory.tsx @@ -10,6 +10,7 @@ import { useDatabases } from "Explorer/useDatabases"; import { isFabric, isFabricNative } from "Platform/Fabric/FabricUtil"; import { Action } from "Shared/Telemetry/TelemetryConstants"; import { traceOpen } from "Shared/Telemetry/TelemetryProcessor"; +import { areAdvancedScriptsSupported } from "Utils/PlatformFeatureUtils"; import { ReactTabKind, useTabs } from "hooks/useTabs"; import React from "react"; import AddCollectionIcon from "../../images/AddCollection.svg"; @@ -130,6 +131,7 @@ export const createCollectionContextMenuButton = ( } if ( + areAdvancedScriptsSupported(configContext.platform) && configContext.platform !== Platform.Fabric && (userContext.apiType === "SQL" || userContext.apiType === "Gremlin") ) { diff --git a/src/quickstart-sql-only-http.html b/src/quickstart-sql-only-http.html index fd1d44af4..d23eb4c12 100644 --- a/src/quickstart-sql-only-http.html +++ b/src/quickstart-sql-only-http.html @@ -35,214 +35,92 @@
-
+ +
-
+
1
- Open and run a sample .NET app + Create a new .NET app

- We created a sample .NET app connected to your Azure Cosmos DB Emulator instance. Download, extract, - build and run the app. + Follow this + tutorial + + to create a new .NET app connected to Azure Cosmos DB.

- -
-
- -
-
2
-
- Learn more about Azure Cosmos DB - -
-
-
-
-
-
1
-
- Open and run a sample .NET Core app -

- We created a sample .NET Core app connected to your Azure Cosmos DB Emulator instance. Download, - extract, build and run the app. -

- -
-
- -
-
2
-
- Learn more about Azure Cosmos DB. -
+
-
-
+
+
1
- Open and run a sample Java app + Create a new Java app

- We created a sample Java app connected to your Azure Cosmos DB Emulator instance. Download, extract, - build and run the app. -

- -

- Follow instructions in the readme.md to setup prerequisites needed to run Java web apps, if you - haven’t already. + Follow this + tutorial + + to create a new Java app connected to Azure Cosmos DB.

- -
-
2
-
- Learn more about Azure Cosmos DB. - -
-
+
-
-
+
+
1
- Open and run a sample Node.js app + Create a new Node.js app

- We created a sample Node.js app connected to your Azure Cosmos DB Emulator instance. Download, - extract, build and run the app. -

- -

- Run npm install and npm start, and navigate to - http://localhost:3000. + Follow this + tutorial + + to create a new Node.js app connected to Azure Cosmos DB.

- -
-
2
-
- Learn more about Azure Cosmos DB. - -
-
+
-
-
+
+
1
- Create a new Python app. + Create a new Python app

Follow this tutorial @@ -250,42 +128,73 @@

+
+
-
-
2
+
+
+
1
- Learn more about Azure Cosmos DB. - + Create a new Go app +

+ Follow this + tutorial + to create a new Go app connected to Azure Cosmos DB. +

+
+
+ +
+
+
1
+
+ Create a new Spring Boot app +

+ Follow this + tutorial + to create a new Spring Boot app connected to Azure Cosmos DB. +

+
+
+
+ + + + diff --git a/src/quickstart-sql-only.html b/src/quickstart-sql-only.html index bd9aa80e2..6ef67b362 100644 --- a/src/quickstart-sql-only.html +++ b/src/quickstart-sql-only.html @@ -35,214 +35,92 @@
-
+ +
-
+
1
- Open and run a sample .NET app + Create a new .NET app

- We created a sample .NET app connected to your Azure Cosmos DB Emulator instance. Download, extract, - build and run the app. + Follow this + tutorial + + to create a new .NET app connected to Azure Cosmos DB.

- -
-
- -
-
2
-
- Learn more about Azure Cosmos DB - -
-
-
-
-
-
1
-
- Open and run a sample .NET Core app -

- We created a sample .NET Core app connected to your Azure Cosmos DB Emulator instance. Download, - extract, build and run the app. -

- -
-
- -
-
2
-
- Learn more about Azure Cosmos DB. -
+
-
-
+
+
1
- Open and run a sample Java app + Create a new Java app

- We created a sample Java app connected to your Azure Cosmos DB Emulator instance. Download, extract, - build and run the app. -

- -

- Follow instructions in the readme.md to setup prerequisites needed to run Java web apps, if you - haven’t already. + Follow this + tutorial + + to create a new Java app connected to Azure Cosmos DB.

- -
-
2
-
- Learn more about Azure Cosmos DB. - -
-
+
-
-
+
+
1
- Open and run a sample Node.js app + Create a new Node.js app

- We created a sample Node.js app connected to your Azure Cosmos DB Emulator instance. Download, - extract, build and run the app. -

- -

- Run npm install and npm start, and navigate to - http://localhost:3000. + Follow this + tutorial + + to create a new Node.js app connected to Azure Cosmos DB.

- -
-
2
-
- Learn more about Azure Cosmos DB. - -
-
+
-
-
+
+
1
- Create a new Python app. + Create a new Python app

Follow this tutorial @@ -250,42 +128,73 @@

+
+
-
-
2
+
+
+
1
- Learn more about Azure Cosmos DB. - + Create a new Go app +

+ Follow this + tutorial + to create a new Go app connected to Azure Cosmos DB. +

+
+
+ +
+
+
1
+
+ Create a new Spring Boot app +

+ Follow this + tutorial + to create a new Spring Boot app connected to Azure Cosmos DB. +

+
+
+
+ + + +