Dashboards & Visualizations

splunk react ui, How do dashboard pages share their state with each other?

newnew20241018
Loves-to-Learn Everything

Hi,

I've been working on the frontend developer for six months now... 👋

I'm using splunk/react-ui toolkit.

I'm created dashboard pages to use @splunk/create command.

but, I think that the dashboards seems like to be unable to share the state with other dashboards.

Is there any way to make this possible?

 

newnew20241018_0-1744075352251.png

↑ my project directory(/pacakges/<splunk app>). this is dashboard pages.

 

Even with react-router, state sharing between dashboard pages was not possible. 

 

Splunk React Ui can't share data props between dashboard pages, and there's no document on how to use it. 😭😭😭😭 somebody help me 🙏

Labels (1)
0 Karma

livehybrid
Super Champion

Hi @newnew20241018 

What kind of state are you wanting to pass between pages? Could you use use URL query parameters or browser storage (localStorage/sessionStorage)?

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...

Major Splunk Upgrade – Prepare your Environment for Splunk 10 Now!

Attention App Developers: Test Your Apps with the Splunk 10.0 Beta and Ensure Compatibility Before the ...

Stay Connected: Your Guide to June Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...