Official Content

To get started using CosmosDB, create an Azure Cosmos DB account at the azure portal.

Make sure to select Azure Cosmos DB for NoSQL.

image_20221217204110_1_png

 
 By the time being, GeneXus does not create the CosmosDB container or maintain its structure (ie. Index settings).
 

Go through the Data Explorer menu option and create a new container.

image_20221217205248_1_png

Set the PartitionKey for this container and define any Unique Keys you need.

image_20221217205623_1_png

Check the Indexing policy to see if it covers your needs.
If the Partition Key is diferent than the "id" you need to define a composite index including both:

image_20237695353_1_png

 

The connection string data (needed to configure the data store settings) can be extracted from the Keys menu option.

image_2022121721049_1_png

 

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant