Databricks link to cells using markdown - databricks

From Databricks documentation, I understand that we can link to other notebooks from a notebook as below:
%md
Link to notebook in same folder as current notebook
Link to folder in parent folder of current notebook
Link to nested notebook
How can I link to a cell in the same notebook?

When in cell, note the URL - it has the form like:
https://<url>/?o=147804121238830#notebook/128991821126784/command/252704521328130
^^^^^^^^^^^^^^^
this is cell id
When you change the cell that id will change correspondingly. So you can link to a cell using this. Just note that this is not an anchor - when it opens, it will do so in new tab.

Related

Is there a way to find the databricks notebook which contain the Create table logic of hive_metastore tables

Is there a way to find the databricks notebook which contain the create logic if I know the Hive_metastore DB/tables name.
I want to understand the logic and the reason I am trying to backtrack from table but the person who has create the table is not around.
Any help will be appreciated.
If you want to know in which notebook create logic is stored, go to:
Data >> Click on the table
then Click on History here you will find Cluster id and Notebook id in which table is created.
from this information you can identify notebook and find the logic of table.

Trigger Office JS event when clicking on an image within Excel

I am trying to trigger code to run on the click of an image within Excel using Office JS.
So far I am giving the image a name in the Name Manager and then I'm using the onWorksheetCollectionSelectionChange() event handler to look for that name.
The name is found when I select any cell or range, but when I select the image itself, the onWorksheetCollectionSelectionChange() method is not called. It doesn't seem like an image can be included within a cell and share its properties, or can it?
Is there a way to achieve this without using VBA?
Thanks!
Could you try listening Excel.Shape.onActivated on the image and see if it works for you?

Updating links using VBA

I am trying to write a code so that I can update 3 links at one go. I already have a code that pulls together all the currently used links, then in a cell I update those links to correspond to the updated files within a different folder. Now I am trying to use:
ThisWorkbook.UpdateLink Name:="File Name", Type:=xlExcelLinks
to update to the appropriate updated file but in the file name I am trying to pull in the path from a particular cell. for example I have my new path/file in cell C3 of Sheet1, how can I pulll in that particular cell information into the Name:="File Name" portion of the code above.
Thanks for the help
Edit: What I am ultimately trying to do is be able to update a link/file with a click of one button instead of going to Data -> Edit Links and changing the links manually. Every month, the files that need to be updated get added to a new folder created for that particular month so I need it to be able to pull from that folder.

formating of databricks notebook titles like header,point

How to make the notebook cmd title has format like in the picture ?
You can use markdown for this:
%md
###The next command...
1. Select color...
2. Displays a table...
See also the Databricks documentation.

How do I convert Image Path in excel to an image in PowerApps?

I have set Path[image] column in the excel sheet as shown in the above image.
I wanted to convert this image path in the excel to an image and display it on the Media Image in Powerapps but the image did not appear.
Please do help me take a look at the problem I have encountered.
You can refer this community thread, it says
Notice that you have to have "[image]" inclued in your image column name to make PowerApps automantically show this column as a Picture control in the app.
Also check the prerequisites like cloud storage, image accessible path like explained here.

Resources