Hello everyone,
I have a question about linking a **library panel** to a **provisioned dashboard**.
Sorry that I can’t upload attachments yet, as new users are not allowed to do so. Instead, here are the links:
* Provisioned dashboard JSON: https://pastebin.com/AH7ys6RG
* Library panel JSON: https://pastebin.com/MeCWPTd6
Here’s the issue I’m encountering:
1. I let Grafana provision a dashboard that contains a library panel named “CPU Temperature Library Panel.”
2. After that, my Golang program sends a `POST` request to `/api/library-elements` to upload the same library panel (CPU Temperature Library Panel).
After these steps, the dashboard itself works fine, and the library panel displays correctly within the dashboard. However, when I check the Library Panels page in Grafana, it shows the following message:
> “Panel is not linked to a dashboard. Add the panel to a dashboard and retry.”
Is there a proper way to link the library panel to the provisioned dashboard so that Grafana recognizes the relationship correctly?
I’d like to achieve this without modifying the provisioning YAML file, as I want to keep `allowUiUpdates` set to `false`. I also tried sending another `POST` request to upload the dashboard, but received the error:{"message":"Cannot save provisioned dashboard"}
I’d really appreciate any guidance or suggestions.
Thank you in advance!
Best,
Josh