Vega is not available. ReferenceError: vegaEmbed is not defined #9131
|
Hi, I am trying to enable vega using the instructions at However, when the search page loads I am getting this error:
Am I missing something? Thanks in advance, |
Answered by
fxprunayre
Jan 15, 2026
Replies: 2 comments 2 replies
|
Hi, not sure how you made your configuration but check in the admin console http://localhost:8080/geonetwork/srv/eng/admin.console#/settings/ui that you've a configuration with vega enabled
and add an additional facet configuration eg. {
"cl_status.key": {
"terms": {
"field": "cl_status.key",
"size": 10
},
"meta": {
"vega": "arc"
}
},
"resourceType": {Then you should get
The JSON configuration would be: {
"mods": {
"search": {
"isVegaEnabled": true,
"facetConfig": {
"cl_status.key": {
"terms": {
"field": "cl_status.key",
"size": 10
},
"meta": {
"vega": "arc"
}
},
"resourceType": { ...HTH |
0 replies
Answer selected by
vagvaf
|
Hi, thanks for your answer! Introducing solved my issue. I had to change "field": "cl_status.key" to "field": "cl_status.key.keyword" though. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hi, not sure how you made your configuration but check in the admin console http://localhost:8080/geonetwork/srv/eng/admin.console#/settings/ui that you've a configuration with vega enabled
and add an additional facet configuration eg.
{ "cl_status.key": { "terms": { "field": "cl_status.key", "size": 10 }, "meta": { "vega": "arc" } }, "resourceType": {Then you should get
The JSON configuration would be:
{ "mods": { "search": { "isVegaEnabled": true, "facetConfig": { "cl_status.key": { "terms": { "field": "cl_status.key", "size": 10 }, "meta": { "vega": "arc"…