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, |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
-
|
Hi, thanks for your answer! Introducing solved my issue. I had to change "field": "cl_status.key" to "field": "cl_status.key.keyword" though. |
Beta Was this translation helpful? Give feedback.


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"…