0

Is there a standard way to get the current Dashboard name using the Dynamics javascript SDK ?

4
  • I doubt that, whats your use case? Commented Mar 5, 2020 at 16:01
  • I have an Angular webressource, which is shown on multiple dashboards, and show different data depending on the dashboard. Commented Mar 5, 2020 at 16:04
  • was my answer helpful? Commented Mar 9, 2020 at 18:33
  • It is how we do it currently, but it is far from ideal. And it is currently affected by a bug, which prevent it from working in some cases. Commented Mar 12, 2020 at 10:59

1 Answer 1

1

You can use the Custom Parameter(data) under Web Resource Properties to send the Dashboard differentiating flag, parse the querystring & achieve what you want in web resource. Read more

enter image description here

Sign up to request clarification or add additional context in comments.

3 Comments

Is there any way to get it without having to pass a custom parameter ?
@Dremor not that I'm aware of. whats the bug you're talking about?
When using the "refresh all" button on the dashboard, the custom parameters are not sent to the webressource. The bug have been reported to MS and is awaiting resolution. In the meantime, I was searching for a way to directly get the dashboard name.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.