Hi
I'm using Experience Builder to build a web-app for a deparment in our municipality, but without warning it now prevents me from saving the project i only get a "Saving Error" in experience builder, but the console log hints to some potential sources of error:
onSaveClick is undefined in https://kart.bergen.kommune.no/portal/apps/experiencebuilder/builder/../builder/widgets/header/dist/...:1
Also I get a ArcGISRequestError with: HTTP 500: Server Error: Internal Server Error
I did a couple of changes yesterday, which got saved. I exited the Experience Builder just to come back later in the day to find out that any new changes after the last ones causes this error. And yes: I have tried to revert the last changes that I did, but to no avail. I can't do any changes to the project anymore.
Experience Builder is probably version 1.2 or 1.3, and runs on ArcGIS Enterprise 10.8.1: I have also checked the ArcGIS Server logs but it didn't provide any useful information, it doesn't even address any errors whatsoever.
What is also very stange is that this error causes the entire Enterprise System to stop for several seconds and then comes back online:
Is this familiar to anyone? It sounds like a really critical bug since it breaks the entire ArcGIS Enterprise System.
After some debugging and back and forth, we have come to theory that it may have something to do with the config-file: config.json. We studied the headers and the post-request made my Exp. Builder and it stores a lot of the settings in the json-file, which is fine, but why does it not allow us to save the project anymore?
{
"pages": {
"page_0": {
"id": "page_0",
"mode": "FIT_WINDOW",
"type": "NORMAL",
"layout": {
"LARGE": "layout_0"
},
"isDefault": true,
"label": "Dashbordmodus",
"isVisible": true
},
"page_2": {
"id": "page_2",
"mode": "FIT_WINDOW",
"type": "NORMAL",
"layout": {
"LARGE": "layout_11"
},
"isDefault": false,
"label": "Redigeringsmodus",
"isVisible": true
},
"page_3": {
"id": "page_3",
"mode": "FIT_WINDOW",
"type": "NORMAL",
"layout": {
"LARGE": "layout_44"
},
"isDefault": false,
"label": "Kalender",
"isVisible": true
}
},
"layouts": {
"layout_0": {
"type": "FIXED",
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": "24px",
"width": "14.9991%",
"height": "97.0000%",
"right": "85.0009%",
"bottom": 0
},
"widgetId": "widget_1",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": true,
"bottom": false
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"1": {
"type": "WIDGET",
"bbox": {
"left": "15.0000%",
"top": 56,
"width": "70.0000%",
"height": "92.0000%",
"right": "15.0000%",
"bottom": "8px"
},
"widgetId": "widget_2",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": true,
"bottom": false
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"2": {
"type": "WIDGET",
"bbox": {
"left": 1088,
"top": 27,
"width": "15.0000%",
"height": "96.6250%",
"right": 0,
"bottom": 0
},
"widgetId": "widget_3",
"setting": {
"autoProps": {
"right": false,
"left": true,
"top": false,
"bottom": false,
"height": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"3": {
"type": "WIDGET",
"setting": {
"style": {},
"autoProps": {
"left": false,
"right": true,
"top": false,
"bottom": false,
"height": true
},
"order": 0,
"lockParent": false,
"lockLayout": false
},
"bbox": {
"left": "15.0000%",
"top": "27px",
"width": "70.0000%",
"height": "96.6250%",
"right": "15.0000%",
"bottom": 0
},
"widgetId": "widget_55"
},
"4": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": "-42.1250%",
"width": "100.0000%",
"height": "45.1250%",
"right": 0,
"bottom": "97.0000%"
},
"widgetId": "widget_59",
"setting": {
"autoProps": {
"left": false,
"right": false,
"top": false,
"bottom": true,
"width": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
}
},
"order": ["0", "1", "2", "3", "4"]
},
"layout_1": {
"label": "DEFAULT",
"order": ["0", "2", "1", "3"],
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"width": 173,
"height": "33%"
},
"widgetId": "widget_5"
},
"1": {
"type": "WIDGET",
"bbox": {
"width": "190px",
"height": "26.9983%",
"left": "-35px",
"right": "155px",
"top": "306px",
"bottom": "515px"
},
"widgetId": "widget_6",
"setting": {
"autoProps": {
"width": true
}
},
"isPending": false
},
"2": {
"type": "WIDGET",
"setting": {
"style": {}
},
"bbox": {
"width": 190,
"height": "6%"
},
"widgetId": "widget_7"
},
"3": {
"type": "WIDGET",
"bbox": {
"width": 172.98333740234375,
"height": "30%"
},
"widgetId": "widget_64"
}
}
},
"layout_2": {
"label": "DEFAULT",
"order": [],
"content": {}
},
"layout_3": {
"label": "DEFAULT",
"order": ["0", "1"],
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"width": 173,
"height": "60%"
},
"widgetId": "widget_10",
"isPending": false
},
"1": {
"type": "WIDGET",
"setting": {
"style": {}
},
"bbox": {
"width": 173,
"height": "38%"
},
"widgetId": "widget_72",
"isPending": false
}
}
},
"layout_5": {
"type": "ROW",
"label": "Default",
"order": ["0"],
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": 0,
"width": 12,
"height": "219px"
},
"widgetId": "widget_8",
"setting": {
"heightMode": "fit",
"aspectRatio": 1.22,
"style": {
"alignSelf": "flex-start"
},
"maintainedByLayout": false
}
}
}
},
"layout_6": {
"type": "ROW",
"label": "Default",
"order": ["0"],
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": 0,
"width": 12,
"height": 275
},
"widgetId": "widget_95",
"setting": {
"heightMode": "fit",
"offsetY": 0
}
}
}
},
"layout_7": {
"type": "ROW",
"label": "Default",
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": 0,
"width": 12,
"height": 300
},
"widgetId": "widget_54",
"setting": {
"heightMode": "fit"
}
}
},
"order": ["0"]
},
"layout_8": {
"type": "ROW",
"label": "Default",
"content": {
"2": {
"type": "WIDGET",
"setting": {
"style": {},
"heightMode": "fit",
"aspectRatio": "100:null"
},
"bbox": {
"left": 0,
"width": 12,
"height": "50px"
},
"widgetId": "widget_9"
}
},
"order": ["2"]
},
"layout_11": {
"type": "FIXED",
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": "23px",
"width": "100.0000%",
"height": "97.1250%",
"right": "0px",
"bottom": 0
},
"setting": {
"autoProps": {
"left": false,
"right": false,
"top": true,
"bottom": false,
"width": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false,
"widgetId": "widget_56"
},
"1": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": 0,
"width": "100.0000%",
"height": "2.8750%",
"right": 0,
"bottom": "97.1250%"
},
"setting": {
"autoProps": {
"left": false,
"right": false,
"top": false,
"bottom": true,
"width": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false,
"widgetId": "widget_57"
},
"2": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": 0,
"width": "9.6875%",
"height": "2.8792%",
"right": "1156px",
"bottom": "777px"
},
"widgetId": "widget_58",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": false,
"bottom": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"3": {
"type": "WIDGET",
"bbox": {
"left": "9.6875%",
"top": 0,
"width": "9.6875%",
"height": "2.88%",
"right": "80.6250%",
"bottom": "97.1208%"
},
"widgetId": "widget_62",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": false,
"bottom": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"4": {
"type": "WIDGET",
"bbox": {
"left": "19.3750%",
"top": 0,
"width": "9.6875%",
"height": "2.88%",
"right": "70.9375%",
"bottom": "97.2500%"
},
"widgetId": "widget_79",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": false,
"bottom": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
}
},
"order": ["0", "1", "2", "3", "4"]
},
"layout_34": {
"type": "FIXED",
"label": "Map FixedLayout",
"content": {},
"order": []
},
"layout_35": {
"type": "FIXED",
"label": "Default",
"order": ["0", "1", "2", "3"],
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": "9.20%",
"top": 332,
"width": "9.6244%",
"height": "8.0780%",
"right": "81.1763%",
"bottom": 0
},
"widgetId": "widget_60",
"setting": {
"autoProps": {
"right": true,
"left": false,
"bottom": false,
"top": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"1": {
"type": "WIDGET",
"setting": {
"style": {},
"autoProps": {
"right": true,
"left": false,
"bottom": false,
"top": true
},
"order": 0,
"lockParent": false,
"lockLayout": false,
"vCenter": false,
"hCenter": false
},
"bbox": {
"left": 0,
"top": 334,
"width": "9.69%",
"height": "7.52%",
"bottom": 0,
"right": 1154
},
"widgetId": "widget_63",
"isPending": false
},
"2": {
"type": "WIDGET",
"bbox": {
"left": "18.80%",
"top": "86.6295%",
"width": "9.62%",
"height": "8.08%",
"right": "63.2538%",
"bottom": 0
},
"widgetId": "widget_74",
"setting": {
"autoProps": {
"left": false,
"right": true,
"bottom": false,
"top": true
},
"vCenter": false,
"hCenter": false,
"lockLayout": true
},
"isPending": false
},
"3": {
"type": "WIDGET",
"bbox": {
"left": "30.1849%",
"top": 333.016724,
"width": "28.0794%",
"height": "27px",
"right": "41.7357%",
"bottom": "1px"
},
"widgetId": "widget_94",
"setting": {
"autoProps": {
"left": false,
"right": true,
"bottom": false,
"top": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
}
}
},
"layout_36": {
"type": "ROW",
"label": "Default",
"order": ["0"],
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": 0,
"width": 12,
"height": 300
},
"widgetId": "widget_65",
"setting": {
"heightMode": "fit"
}
}
}
},
"layout_43": {
"type": "ROW",
"label": "Default",
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": "0px",
"top": "NaNpx",
"width": "12px",
"height": "300px"
},
"widgetId": "widget_73",
"setting": {
"heightMode": "fit"
}
}
},
"order": ["0"]
},
"layout_44": {
"type": "FIXED",
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": "23px",
"width": "100.0000%",
"height": "97.1250%",
"right": "0px",
"bottom": 0
},
"setting": {
"autoProps": {
"left": false,
"right": false,
"top": true,
"bottom": false,
"width": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false,
"widgetId": "widget_75"
},
"1": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": 0,
"width": "100.0000%",
"height": "2.8750%",
"right": 0,
"bottom": "97.1250%"
},
"setting": {
"autoProps": {
"left": false,
"right": false,
"top": false,
"bottom": true,
"width": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false,
"widgetId": "widget_76"
},
"2": {
"type": "WIDGET",
"bbox": {
"left": 0,
"top": 0,
"width": "9.69%",
"height": "2.88%",
"right": 1156,
"bottom": 775
},
"widgetId": "widget_77",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": false,
"bottom": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"3": {
"type": "WIDGET",
"bbox": {
"left": "9.69%",
"top": 0,
"width": "9.69%",
"height": "2.88%",
"right": "80.6250%",
"bottom": "97.0000%"
},
"widgetId": "widget_78",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": false,
"bottom": true
},
"vCenter": false,
"hCenter": false,
"order": 0,
"lockParent": false,
"lockLayout": false
},
"isPending": false
},
"4": {
"type": "WIDGET",
"bbox": {
"left": "19.3776%",
"top": "0.00%",
"width": "9.69%",
"height": "2.88%",
"right": "63.4349%",
"bottom": "97.1250%"
},
"widgetId": "widget_80",
"setting": {
"autoProps": {
"left": false,
"right": true,
"top": false,
"bottom": true
},
"vCenter": false,
"hCenter": false
},
"isPending": false
}
},
"order": ["0", "1", "2", "3", "4"]
},
"layout_46": {
"label": "Valgt",
"type": "FIXED",
"content": {
"0": {
"type": "WIDGET",
"bbox": {
"left": "10.00px",
"top": 0,
"width": "250.00px",
"height": "80.0000%",
"right": "10.00px",
"bottom": 50
},
"widgetId": "widget_105",
"setting": {
"lockParent": true,
"hCenter": false,
"vCenter": false,
"autoProps": {
"width": false,
"height": false,
"top": false,
"left": false,
"bottom": true,
"right": false
},
"order": 0,
"lockLayout": false
},
"isPending": false
}
},
"order": ["0"]
},
"layout_47": {
"label": "Beveg over",
"type": "FIXED"
},
"layout_51": {
"type": "FIXED",
"content": {
"2": {
"type": "WIDGET",
"bbox": {
"left": 10,
"top": 0,
"width": "250px",
"height": "82.0000%",
"right": "10.00px",
"bottom": "45px"
},
"widgetId": "widget_105",
"setting": {
"lockParent": true,
"hCenter": false,
"vCenter": false,
"autoProps": {
"width": false,
"height": false,
"top": false,
"right": false,
"bottom": true,
"left": false
},
"order": 0,
"lockLayout": false,
"heightMode": "fixed",
"aspectRatio": 1.47
},
"isPending": false
}
},
"order": ["2"],
"label": "Vanlig"
}
},
"exbVersion": "1.0.0",
"mainSizeMode": "LARGE",
"theme": "themes/default/",
"forBuilderAttributes": {
"lockLayout": false
},
"template": "blankfullscreen",
"attributes": {
"portalUrl": "https://kart.bergen.kommune.no/portal"
},
"themeManifest": {
"name": "default",
"label": "Default",
"type": "theme",
"thumbnails ": [],
"colors": {
"primary": "#315dfc",
"secondary": "#00c3cc",
"success": "#00cca5",
"info": "#09acf8",
"warning": "#ffab21",
"danger": "#f6146f",
"light": "#fafbfc",
"dark": "#2d3235"
},
"font": {
"fontFamily": "Avenir Next",
"color": "#fff"
},
"version": "1.0.0",
"exbVersion": "1.0.0",
"supportedLocales": ["en", "ar", "bs", "ca", "cs", "da", "de", "el", "es", "et", "fi", "fr", "he", "hr", "hu", "id", "it", "ja", "ko", "lt", "lv", "nb", "nl", "pl", "pt-br", "pt-pt", "ro", "ru", "sl", "sr", "sv", "th", "tr", "zh-cn", "uk", "vi", "zh-hk", "zh-tw"],
"translatedLocales": ["en", "ar", "bs", "ca", "cs", "da", "de", "el", "es", "et", "fi", "fr", "he", "hr", "hu", "id", "it", "ja", "ko", "lt", "lv", "nb", "nl", "pl", "pt-br", "pt-pt", "ro", "ru", "sl", "sr", "sv", "th", "tr", "zh-cn", "uk", "vi", "zh-hk", "zh-tw"],
"styleFiles": {
"css": false,
"js": false
}
},
"widgets": {
"widget_1": {
"uri": "widgets/layout/column/",
"version": "1.0.0",
"label": "Venstre Felt",
"config": {
"space": 10,
"style": {
"padding": {
"space": [10],
"unit": "px"
},
"justifyContent": "flex-start",
"alignItems": "stretch"
}
},
"id": "widget_1",
"layouts": {
"DEFAULT": {
"LARGE": "layout_1"
}
},
"style": {
"background": {
"color": "#6a898b",
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_2": {
"uri": "widgets/layout/column/",
"version": "1.0.0",
"label": "Midtfelt",
"config": {
"space": 10,
"style": {
"padding": {
"space": [10],
"unit": "px"
},
"justifyContent": "flex-start",
"alignItems": "stretch"
}
},
"id": "widget_2",
"layouts": {
"DEFAULT": {
"LARGE": "layout_2"
}
}
},
"widget_3": {
"uri": "widgets/layout/column/",
"version": "1.0.0",
"label": "Høyre Felt",
"config": {
"space": 10,
"style": {
"padding": {
"space": [10],
"unit": "px"
},
"justifyContent": "flex-start",
"alignItems": "stretch"
}
},
"id": "widget_3",
"layouts": {
"DEFAULT": {
"LARGE": "layout_3"
}
},
"style": {
"background": {
"color": "#6a898b",
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_5": {
"uri": "widgets/layout/row/",
"version": "1.0.0",
"label": "Topp venstre",
"config": {
"space": 10,
"style": {
"padding": {
"number": [0, 0, 0, 0],
"unit": "px"
}
}
},
"id": "widget_5",
"layouts": {
"DEFAULT": {
"LARGE": "layout_5"
}
}
},
"widget_6": {
"uri": "widgets/layout/row/",
"version": "1.0.0",
"label": "Midt venstre data",
"config": {
"space": 10,
"style": {
"padding": {
"number": [0, 0, 0, 0],
"unit": "px"
}
}
},
"id": "widget_6",
"layouts": {
"DEFAULT": {
"LARGE": "layout_6"
}
},
"style": {
"background": {
"color": "#6a898b",
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_7": {
"uri": "widgets/layout/row/",
"version": "1.0.0",
"label": "Midt venstre overskrift",
"config": {
"space": 10,
"style": {
"padding": {
"number": [0, 0, 0, 0],
"unit": "px"
}
}
},
"id": "widget_7",
"layouts": {
"DEFAULT": {
"LARGE": "layout_7"
}
}
},
"widget_8": {
"uri": "widgets/common/embed/",
"version": "1.0.0",
"label": "BKK",
"config": {
"embedType": "code",
"embedCode": ""
},
"id": "widget_8"
},
"widget_9": {
"uri": "widgets/common/embed/",
"version": "1.0.0",
"label": "Metrologisk",
"config": {
"embedType": "code",
"embedCode": ""
},
"id": "widget_9",
"style": {
"background": {
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_10": {
"uri": "widgets/layout/row/",
"version": "1.0.0",
"label": "Topp høyre",
"config": {
"space": 10,
"style": {
"padding": {
"number": [0, 0, 0, 0],
"unit": "px"
}
}
},
"id": "widget_10",
"layouts": {
"DEFAULT": {
"LARGE": "layout_8"
}
}
},
"widget_54": {
"uri": "widgets/common/embed/",
"version": "1.0.0",
"label": "Bygg inn 1",
"config": {
"embedType": "code",
"embedCode": ""
},
"id": "widget_54"
},
"widget_55": {
"uri": "widgets/arcgis/arcgis-map/",
"version": "1.0.0",
"label": "Kart",
"config": {
"toolConifg": {
"canZoom": true,
"canHome": true,
"canSearch": true,
"canLayers": true,
"canCompass": true,
"canFullScreen": true,
"canScaleBar": true,
"canNavigation": false,
"canLocate": true,
"canMeasure": true,
"canBaseMap": true
},
"isUseCustomMapState": false,
"initialMapDataSourceID": "dataSource_5",
"initialMapState": null,
"layoutIndex": 0,
"disableScroll": false,
"disablePopUp": false
},
"id": "widget_55",
"layouts": {
"MapFixedLayout": {
"LARGE": "layout_34"
}
},
"useDataSources": [{
"dataSourceId": "dataSource_5"
}],
"style": {
"background": {
"color": "#3d3d3c",
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_56": {
"uri": "widgets/common/embed/",
"version": "1.0.0",
"label": "Kartapp",
"config": {
"embedType": "url",
"staticUrl": "https://kart.bergen.kommune.no/portal/apps/webappviewer/index.html?id=759cd8b5043548afa38241b808e7c0c7"
},
"id": "widget_56",
"style": {
"background": {
"color": "",
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_57": {
"uri": "widgets/common/text/",
"version": "1.0.0",
"label": "Tekst 9",
"config": {
"text": "<p> </p><p><br></p>",
"placeholder": "Dobbeltklikk for å redigere tekst",
"style": {
"verticalAlign": "start",
"wrap": true
}
},
"id": "widget_57",
"style": {
"background": {
"color": "var(--danger-800)",
"fillType": "fit",
"image": {
"url": ""
}
},
"border": {
"type": "solid",
"color": "#3d3d3c",
"width": {
"distance": 0,
"unit": "px"
}
}
}
},
"widget_58": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "btnKart",
"config": {
"functionConfig": {
"text": "Dashbord",
"textExpression": null,
"linkParam": {
"linkType": "PAGE",
"value": "page_0",
"openType": "_self"
}
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"regular": {
"background": {
"color": "#3d3d3c",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#f3d899",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
},
"boxShadow": {
"offsetX": {
"distance": 0,
"unit": "px"
},
"offsetY": {
"distance": 0,
"unit": "px"
},
"blur": {
"distance": 0,
"unit": "px"
},
"spread": {
"distance": 0,
"unit": "px"
}
}
},
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"width": {
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
},
"boxShadow": {
"offsetX": {
"distance": 0,
"unit": "px"
},
"offsetY": {
"distance": 0,
"unit": "px"
},
"blur": {
"distance": 20,
"unit": "px"
},
"spread": {
"distance": 0,
"unit": "px"
},
"color": "#f3d899"
}
}
}
}
},
"id": "widget_58",
"style": {
"background": {
"color": "#9abfae",
"fillType": "fit",
"image": {
"url": ""
}
}
},
"useDataSources": []
},
"widget_59": {
"uri": "widgets/layout/fixed/",
"version": "1.0.0",
"label": "Fast panel 1",
"id": "widget_59",
"layouts": {
"DEFAULT": {
"LARGE": "layout_35"
}
},
"style": {
"background": {
"color": "var(--danger-800)",
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_60": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "Knapp 1",
"config": {
"functionConfig": {
"text": "Kartapp",
"textExpression": null,
"linkParam": {
"linkType": "PAGE",
"value": "page_2",
"openType": "_self"
}
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
},
"boxShadow": {
"offsetX": {
"distance": 0,
"unit": "px"
},
"offsetY": {
"distance": 0,
"unit": "px"
},
"blur": {
"distance": 20,
"unit": "px"
},
"spread": {
"distance": 0,
"unit": "px"
},
"color": "#f3d899"
}
},
"regular": {
"background": {
"color": "#3d3d3c",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#f3d899",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
}
}
}
}
},
"id": "widget_60",
"useDataSources": []
},
"widget_62": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "Knapp 2",
"config": {
"functionConfig": {
"text": "Kartapp",
"textExpression": null
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "#3d3d3c",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
}
},
"regular": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "#3d3d3c",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
}
}
}
}
},
"id": "widget_62",
"useDataSources": [],
"style": {
"border": {
"type": "dashed",
"width": {
"distance": 0,
"unit": "px"
}
}
}
},
"widget_63": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "Dashbord_fane",
"config": {
"functionConfig": {
"text": "Dashbord",
"textExpression": null
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"width": {
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
}
},
"regular": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "#c0c0c0",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
}
}
}
}
},
"id": "widget_63",
"useDataSources": []
},
"widget_64": {
"uri": "widgets/layout/row/",
"version": "1.0.0",
"label": "Bunn venstre overskrift",
"config": {
"space": 10,
"style": {
"padding": {
"number": [0],
"unit": "px"
}
}
},
"id": "widget_64",
"layouts": {
"DEFAULT": {
"LARGE": "layout_36"
}
}
},
"widget_65": {
"uri": "widgets/common/embed/",
"version": "1.0.0",
"label": "Twitter overskrift",
"config": {
"embedType": "code",
"embedCode": ""
},
"id": "widget_65"
},
"widget_72": {
"uri": "widgets/layout/row/",
"version": "1.0.0",
"label": "Bunn høyre",
"config": {
"space": 10,
"style": {
"padding": {
"number": [0],
"unit": "px"
}
}
},
"id": "widget_72",
"layouts": {
"DEFAULT": {
"LARGE": "layout_43"
}
}
},
"widget_73": {
"uri": "widgets/common/embed/",
"version": "1.0.0",
"label": "BTRSS",
"config": {
"embedType": "code",
"embedCode": ""
},
"id": "widget_73",
"style": {
"background": {
"fillType": "fill",
"image": {
"url": ""
}
}
}
},
"widget_74": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "btnKalender",
"config": {
"functionConfig": {
"text": "Kalender",
"textExpression": null,
"linkParam": {
"linkType": "PAGE",
"value": "page_3",
"openType": "_self"
}
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"width": {
"unit": "px"
}
},
"text": {
"size": "16px",
"color": "#3d3d3c"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
}
},
"regular": {
"background": {
"color": "#3d3d3c",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "#c0c0c0",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#f3d899",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
}
}
}
}
},
"id": "widget_74",
"useDataSources": []
},
"widget_75": {
"uri": "widgets/common/embed/",
"version": "1.0.0",
"label": "Kartapp kopier",
"config": {
"embedType": "code",
"staticUrl": "https://kart.bergen.kommune.no/portal/apps/webappviewer/index.html?id=759cd8b5043548afa38241b808e7c0c7",
"embedCode": ""
},
"id": "widget_75",
"style": {
"background": {
"color": "",
"fillType": "fit",
"image": {
"url": ""
}
}
}
},
"widget_76": {
"uri": "widgets/common/text/",
"version": "1.0.0",
"label": "Tekst 9 kopier",
"config": {
"text": "<p> </p><p><br></p>",
"placeholder": "Dobbeltklikk for å redigere tekst",
"style": {
"verticalAlign": "start",
"wrap": true
}
},
"id": "widget_76",
"style": {
"background": {
"color": "var(--danger-800)",
"fillType": "fit",
"image": {
"url": ""
}
},
"border": {
"type": "solid",
"color": "#3d3d3c",
"width": {
"distance": 0,
"unit": "px"
}
}
}
},
"widget_77": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "btnDashbord",
"config": {
"functionConfig": {
"text": "Dashbord",
"textExpression": null,
"linkParam": {
"linkType": "PAGE",
"value": "page_0",
"openType": "_self"
}
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"regular": {
"background": {
"color": "#3d3d3c",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#f3d899",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
},
"boxShadow": {
"offsetX": {
"distance": 0,
"unit": "px"
},
"offsetY": {
"distance": 0,
"unit": "px"
},
"blur": {
"distance": 0,
"unit": "px"
},
"spread": {
"distance": 0,
"unit": "px"
}
}
},
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"width": {
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
},
"boxShadow": {
"offsetX": {
"distance": 0,
"unit": "px"
},
"offsetY": {
"distance": 0,
"unit": "px"
},
"blur": {
"distance": 0,
"unit": "px"
},
"spread": {
"distance": 0,
"unit": "px"
},
"color": ""
}
}
}
}
},
"id": "widget_77",
"style": {
"background": {
"color": "#9abfae",
"fillType": "fit",
"image": {
"url": ""
}
}
},
"useDataSources": []
},
"widget_78": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "btnKartapp",
"config": {
"functionConfig": {
"text": "Kartapp",
"textExpression": null,
"linkParam": {
"linkType": "PAGE",
"value": "page_2",
"openType": "_self"
}
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "#3d3d3c",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
}
},
"regular": {
"background": {
"color": "#3d3d3c",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "#3d3d3c",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#f3d899",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
}
}
}
}
},
"id": "widget_78",
"useDataSources": [],
"style": {
"border": {
"type": "dashed",
"width": {
"distance": 0,
"unit": "px"
}
}
}
},
"widget_79": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "btnKalender",
"config": {
"functionConfig": {
"text": "Kalender",
"textExpression": null,
"linkParam": {
"linkType": "PAGE",
"value": "page_3",
"openType": "_self"
}
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "dashed",
"width": {
"unit": "px",
"distance": 0
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0, 0, 0, 0],
"unit": "px"
},
"iconProps": {
"size": 16
}
},
"regular": {
"background": {
"color": "#3d3d3c",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#f3d899",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
}
}
}
}
},
"id": "widget_79",
"useDataSources": [],
"style": {
"border": {
"type": "dashed",
"color": "white",
"width": {
"distance": 0,
"unit": "px"
}
}
}
},
"widget_80": {
"uri": "widgets/common/button/",
"version": "1.0.0",
"label": "btnKalender",
"config": {
"functionConfig": {
"text": "Kalender",
"textExpression": null
},
"styleConfig": {
"useCustom": true,
"customStyle": {
"hover": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"width": {
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"size": 16
}
},
"regular": {
"background": {
"color": "#f1b825",
"fillType": "fill"
},
"border": {
"type": "solid",
"color": "#c0c0c0",
"width": {
"distance": 0,
"unit": "px"
}
},
"text": {
"color": "#3d3d3c",
"size": "16px"
},
"borderRadius": {
"number": [0],
"unit": "px"
},
"iconProps": {
"color": "#000",
"size": 16
}
}
}
}
},
"id": "widget_80",
"useDataSources": []
},
"widget_94": {
"uri": "widgets/common/text/",
"version": "1.0.0",
"label": "Tekst 14",
"config": {
"text": "<p><strong style=\"color: var(--secondary);\">Testversjon!!!! Testversjon!!!!!</strong></p>",
"placeholder": "Dobbeltklikk for å redigere tekst",
"style": {
"verticalAlign": "start",
"wrap": true
}
},
"id": "widget_94"
},
"widget_95": {
"uri": "widgets/common/list/",
"version": "1.0.0",
"label": "Liste 1",
"config": {
"maxItems": 100,
"space": 8,
"itemsPerPage": 5,
"isItemStyleConfirm": true,
"isInitialed": true,
"pageStyle": "SCROLL",
"itemStyle": "STYLE6",
"hoverType": "HOVER0",
"selectedStyle": "STYLE0",
"differentOddEven": false,
"scrollBarOpen": true,
"direction": "VERTICAL",
"alignType": "CENTER",
"scrollStep": 2,
"cardConfigs": {
"REGULAR": {
"cardSize": {
"LARGE": {
"width": 189.98,
"height": 250
}
},
"enable": true,
"backgroundStyle": {
"border": {
"type": "solid",
"color": "rgba(0, 0, 0, 1)",
"width": {
"distance": 0,
"unit": "px"
}
},
"background": {
"color": "#6a898b",
"fillType": "fit",
"image": {
"url": ""
}
},
"borderRadius": {
"number": [10],
"unit": "px"
}
}
},
"HOVER": {
"cardSize": {
"LARGE": {
"width": 189.98,
"height": 250
}
},
"enable": false,
"backgroundStyle": {
"border": {
"type": "solid",
"color": "rgba(0, 0, 0, 1)",
"width": {
"distance": 1,
"unit": "px"
}
}
}
},
"SELECTED": {
"cardSize": {
"LARGE": {
"width": 189.98,
"height": 250
}
},
"backgroundStyle": {
"border": {
"type": "solid",
"color": "rgba(133, 55, 241, 1)",
"width": {
"distance": 0,
"unit": "px"
}
},
"background": {
"color": "#6a898b",
"fillType": "fit",
"image": {
"url": ""
}
}
},
"selectionMode": "SINGLE"
}
},
"style": {
"id": "default"
},
"filters": null,
"lockItemRatio": false
},
"id": "widget_95",
"layouts": {
"REGULAR": {
"LARGE": "layout_51"
},
"SELECTED": {
"LARGE": "layout_46"
},
"HOVER": {
"LARGE": "layout_47"
}
},
"outputDataSources": ["widget_95-output"],
"useDataSources": [{
"dataSourceId": "dataSource_5-Trafikkmelding_Linje_9825",
"rootDataSourceId": "dataSource_5",
"fields": []
}],
"style": {
"background": {
"color": "#6a898b",
"fillType": "fit",
"image": {
"url": ""
}
},
"border": {
"type": "solid",
"color": "#f1b825",
"width": {
"distance": 0,
"unit": "px"
}
}
}
},
"widget_105": {
"uri": "widgets/common/text/",
"config": {
"text": "<p><exp data-uniqueid=\"95d9b106_59fa_a374_8261_4cb14ef66cb2\" data-dsid=\"dataSource_5-Trafikkmelding_Linje_9825\" data-expression=\"%7B%22name%22%3A%22%7Broad_number%7D%22%2C%22parts%22%3A%5B%7B%22type%22%3A%22FIELD%22%2C%22exp%22%3A%22%7Broad_number%7D%22%2C%22dataSourceId%22%3A%22dataSource_5-Trafikkmelding_Linje_9825%22%2C%22jimuFieldName%22%3A%22road_number%22%7D%5D%7D\"><span contenteditable=\"false\">{road_number}</span></exp> </p><p>Start: <exp data-uniqueid=\"fdefb5b4_53be_3dda_2bb0_e7e969327040\" data-dsid=\"dataSource_5-Trafikkmelding_Linje_9825\" data-expression=\"%7B%22name%22%3A%22%7Boverall_start_time%7D%22%2C%22parts%22%3A%5B%7B%22type%22%3A%22FIELD%22%2C%22exp%22%3A%22%7Boverall_start_time%7D%22%2C%22dataSourceId%22%3A%22dataSource_5-Trafikkmelding_Linje_9825%22%2C%22jimuFieldName%22%3A%22overall_start_time%22%7D%5D%7D\"><span contenteditable=\"false\">{overall_start_time}</span></exp> </p><p>Stopp: <exp data-uniqueid=\"dfe5a131_7d4a_0284_701b_85752170d48f\" data-dsid=\"dataSource_5-Trafikkmelding_Linje_9825\" data-expression=\"%7B%22name%22%3A%22%7Boverall_end_time%7D%22%2C%22parts%22%3A%5B%7B%22type%22%3A%22FIELD%22%2C%22exp%22%3A%22%7Boverall_end_time%7D%22%2C%22dataSourceId%22%3A%22dataSource_5-Trafikkmelding_Linje_9825%22%2C%22jimuFieldName%22%3A%22overall_end_time%22%7D%5D%7D\"><span contenteditable=\"false\">{overall_end_time}</span></exp> </p><p><exp data-uniqueid=\"42a90de4_6b85_d287_a91b_3aea9849fb22\" data-dsid=\"dataSource_5-Trafikkmelding_Linje_9825\" data-expression=\"%7B%22name%22%3A%22%7Baffected_lane%7D%22%2C%22parts%22%3A%5B%7B%22type%22%3A%22FIELD%22%2C%22exp%22%3A%22%7Baffected_lane%7D%22%2C%22dataSourceId%22%3A%22dataSource_5-Trafikkmelding_Linje_9825%22%2C%22jimuFieldName%22%3A%22affected_lane%22%7D%5D%7D\"><span contenteditable=\"false\">{affected_lane}</span></exp> </p><p><exp data-uniqueid=\"818a4277_57f5_d6b7_d839_840583898520\" data-dsid=\"dataSource_5-Trafikkmelding_Linje_9825\" data-expression=\"%7B%22name%22%3A%22%7Bdescription%7D%22%2C%22parts%22%3A%5B%7B%22type%22%3A%22FIELD%22%2C%22exp%22%3A%22%7Bdescription%7D%22%2C%22dataSourceId%22%3A%22dataSource_5-Trafikkmelding_Linje_9825%22%2C%22jimuFieldName%22%3A%22description%22%7D%5D%7D\"><span contenteditable=\"false\">{description}</span></exp> </p><p><br></p>",
"placeholder": "<p style=\"text-align: left;\"><span style=\"font-size: 13px;\">Lorem ipsum dolor sit amet</span></p>",
"style": {
"verticalAlign": "start",
"wrap": true,
"overflow": "scroll",
"padding": "p-1"
}
},
"version": "1.0.0",
"label": "Tekst 18",
"id": "widget_105",
"useDataSources": [{
"dataSourceId": "dataSource_5-Trafikkmelding_Linje_9825",
"rootDataSourceId": "dataSource_5",
"fields": ["road_number", "overall_start_time", "overall_end_time", "affected_lane", "description"]
}],
"useDataSourcesEnabled": true,
"style": {
"background": {
"color": "#b1c5d2",
"fillType": "fit",
"image": {
"url": ""
}
},
"borderRadius": {
"number": [10],
"unit": "px"
}
}
}
},
"widgetsManifest": {},
"views": {},
"sections": {},
"dialogs": {},
"dataSources": {
"dataSource_5": {
"type": "WEB_MAP",
"itemId": "e1848876d4134c3fbf660dfb43d1e706",
"id": "dataSource_5",
"label": "SSH Beredskap MAP",
"portalUrl": "https://kart.bergen.kommune.no/portal"
},
"dataSource_6": {
"id": "dataSource_6",
"type": "FEATURE_QUERY",
"label": "Twitter (Politi, Brann og Vegtrafikksentralen)",
"url": "https://kart.bergen.kommune.no/arcgis/rest/services/Beredskap/ssh_twitter/FeatureServer/0",
"layerId": 0,
"itemId": "98c3a01763fb48778f095b292b98ff7f",
"portalUrl": "https://kart.bergen.kommune.no/portal"
},
"dataSource_7": {
"type": "WEB_MAP",
"itemId": "633b6064c9744838af78f3160200c54f",
"id": "dataSource_7",
"label": "SSH Beredskap MAP_PROD",
"portalUrl": "https://kart.bergen.kommune.no/portal"
},
"widget_95-output": {
"id": "widget_95-output",
"label": "Liste 1 lastede geoobjekter",
"type": "FEATURE_SET",
"originDataSources": [{
"dataSourceId": "dataSource_5-Trafikkmelding_Linje_9825",
"rootDataSourceId": "dataSource_5"
}],
"isOutputFromWidget": true
}
},
"messageConfigs": {
"messageConfig_1": {
"id": "messageConfig_1",
"widgetId": "widget_95",
"messageType": "DATA_RECORDS_SELECTION_CHANGE",
"actions": [{
"actionId": "widget_55-zoomToFeature-1639996638782",
"widgetId": "widget_55",
"messageWidgetId": "widget_95",
"actionName": "zoomToFeature",
"description": null,
"config": {
"useDataSource": {
"dataSourceId": "dataSource_5-Trafikkmelding_Linje_9825",
"rootDataSourceId": "dataSource_5"
}
},
"version": "1.0.0"
}]
}
},
"pageStructure": [{
"page_0": []
}, {
"page_2": []
}, {
"page_3": []
}]
}
I have removed the embeded-code from the json because this is not a public site and the code is confidential, but everything else is as the config.json file is in our Environment today. Is there anything wrong here?
And before you ask: it's not the embeded code we have tested this thoroughly, even turned the code back to it's original state when it worked properly, but it still won't save the project. It's probaly a bug in Exp. Builder.