How can I add parameters to my CosmosDB Data Explorer workbooks?

Joshua Wheelock 21 Reputation points
2021-08-02T10:50:46.533+00:00

I have a CosmosDB Data Explorer workbook with a set of functional predefined queries. The workbook offers real benefits by improving efficiency when our organization needs to run some useful queries against when debugging our data/applications. The one draw back is that its prone to failure via user error.

As of now, users need to edit the cells, replacing query values for those that match their needs before running the cells. This is not optimal as it introduces the opportunity that the queries could be broken unintentionally by an unwitting user should they save an erroneous query, hence erasing record of the working query.

I'd like to introduce parameter fields for future users of the workbook to avoid the previously stated scenario. Is that possible?

I'm aware how to do this in Azure Data Studio (ADS) workbooks, but unfortunately can not see the option in Data Explorer, and am unaware of the possibility to connect to CosmosDb from ADS

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
484 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,449 questions
0 comments No comments
{count} votes

Accepted answer
  1. HimanshuSinha-msft 19,381 Reputation points Microsoft Employee
    2021-08-04T21:20:42.62+00:00

    Hello @Joshua Wheelock ,

    Thanks for the ask and using the Microsoft Q&A platform .
    At this time, we are reaching out to the internal team to get some help on this . We will update you once we hear back from them.

    8/10
    Just recieved an update from the internal team and they confimed that this feature is not yet supported .

    Thanks
    Himanshu

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Shikha Jain 6 Reputation points Microsoft Employee
    2023-11-01T22:30:18.5466667+00:00

    You can use parameters to define inputs to those queries and that can be user defined keeping queries untouched

    0 comments No comments