Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to call function only once on page load for UDChart and UDGridData with AutoRefresh #3

Closed
skest3qc opened this issue Feb 8, 2018 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@skest3qc
Copy link

skest3qc commented Feb 8, 2018

Hi,

I am using an UDChart and UDGridData with AutoRefresh

Both are running the same function (Get-Compliance) to display data in the chart and grid.

Is it somehow possible to call the function only once, for both, but to get also AutoRefresh to work?

Because now I am using it like so:

Get-Compliance | Out-UDGridData
Get-Compliance | Out-UDChartData

I could call the function on top of the UDPage, but how should I do it for AutoRefresh?

Thanks

@adamdriscoll adamdriscoll added the enhancement New feature or request label Feb 11, 2018
@adamdriscoll
Copy link
Member

This would be a good place to take advantage of server side caching. It's been in the backlog for awhile but hasn't be fleshed out.

@adamdriscoll adamdriscoll added this to the 1.5.1 milestone Mar 9, 2018
@adamdriscoll adamdriscoll modified the milestones: 1.5.1, 1.6.0 Mar 17, 2018
@adamdriscoll
Copy link
Member

We are going to implement this via a set of "SharedData" cmdlets that will allow you to create and cache data in a very simple way and use it between multiple endpoints. The initial dev is done but will be testing and finishing up the feature for 1.6.0.

@adamdriscoll
Copy link
Member

Shared data is implemented in 1.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants