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

Initial values for elements #486

Closed
Vovaman opened this issue Sep 6, 2024 · 4 comments · Fixed by #490
Closed

Initial values for elements #486

Vovaman opened this issue Sep 6, 2024 · 4 comments · Fixed by #490
Assignees
Labels
question Further information is requested

Comments

@Vovaman
Copy link

Vovaman commented Sep 6, 2024

01

  1. Panel is BusinessForms
  2. Add my elements
  3. Initial request returns data

02

  1. Initial request well-defined (...confirmed by previous picture) and aliases are assigned.
  2. Field names are filled.

Result: form is empty.
03

What's wrong?

@Vovaman
Copy link
Author

Vovaman commented Sep 6, 2024

Grafanf: docker image grafana/grafana-enterprise:10.4.4
BusinessForms:
Screenshot_20240906_212027
Data source - JSON API:
Screenshot_20240906_212144

@mikhail-vl mikhail-vl added the question Further information is requested label Sep 6, 2024
@mikhail-vl mikhail-vl moved this to Ready in Business Suite Sep 6, 2024
@mikhail-vl
Copy link
Member

@Vovaman Have you tried to use Query for Initial request instead of Data Source?

Using Query you can check returned data in the Table View to make sure that you receive it from the data source.
You don't need to use Data Source directly in the Initial Request if you don't create specific payload.

@mikhail-vl mikhail-vl moved this from Ready to In progress in Business Suite Sep 6, 2024
@Vovaman
Copy link
Author

Vovaman commented Sep 7, 2024

  1. Yes, if I use Query, data appear.
  2. But I plan to construct some complex payload and this is why DataSource is preferrable.

@mikhail-vl
Copy link
Member

@vitPinchuk Could you please investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants