Is it possible to access a variable in markdown cells?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2021 02:05 PM
I saw a similar question in a discussion 5 years ago and back then this option was not available.
https://community.databricks.com/s/question/0D53f00001HKHhNCAX/markup-in-databricks-notebook
I wonder if this feature has been added. It is possible to do it in Jupyter but notebook help page in databricks doesn't show such feature.
I think this is a beneficial add-on in case it doesn't yet exist because sometimes you don't wanna copy paste static values from one run and update it in every run in the markdown.
If it does exist, I'd appreciate if you can share the solution with me.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2021 10:29 AM
Howdy!
My name is Piper and I'm one of the community moderators. Thank you for your question. Let's see how the community responds first and then we'll see if we need the team to follow up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2021 12:49 AM
Thanks for your request. Have you already tried this magic command mentioned in the docs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2021 11:16 AM
@Ashwinkumar Jayakumar I have. The magic command is not for this purpose. In one cmd you can only use one magic command: %md, %python, etc. and only in the beginning of the command.
To reiterate, I want to use a variable in a markdown cmd (a cmd that I start with %md) that I have already defined in my notebook code cmd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2021 09:23 AM
When I click on the feedback link under workspace/help, it opens a page with page not found.