Join us, today at 10:00 AM ET, for an introduction to the new Dataiku Academy Learn more

Rendering of links in Slack Reporters

Level 3
Rendering of links in Slack Reporters

Hi all,

I have a reporter that looks like this:

DSS Scenario <${scenarioRunURL}|${scenarioName}>

But this renders in Slack as:

DSS Scenario <|Weather data>

Why is the link not correctly formatted in Slack? I do have the "Let Slack replace names in the message by links" checked.

Thanks,
Ben

2 Replies
Dataiker
Dataiker

Hi Ben,

The most likely reason is that ${scenarioRunURL} is evaluated as an empty string, and as a consequence Slack does not recognize the whole link as a link.

To ensure that ${scenarioRunURL} returns a correct string, DSS must be configured so that it "knows" its URL from the outside world. For that, go to DSS Administration > Settings > Notification & Integrations and make sure the DSS URL field is correctly filled (i.e. not empty).  You can click on the magic wand to automatically guess the correct value.

Hope this helps,
Arnaud.

Level 3
Author

That did it, thank you Arnaud! I was mystified why it worked on the Design node but not on the Automation node 😁