ActionsshowViewVersion: 4.62On this pageshowView Displays the specified content on the specified layout. Field Configurations KeyTypeDescriptionDefault Value"params" (required)Objectundefinednull Parameters KeyTypeDescriptionDefault Value"async"BooleanSpecifies whether the action should perform asynchronously.null"content"String,ObjectContent to be displayed. This resembles the content of a static template.null"events"EventThe events for the new view.null"isCancelable"BooleanDetermines whether the pop-up closes when you press outside or the Back button.true"layout"StringThe name of the layout.null"name"StringThe name of the view. Used by the closeView Action to close it.null"namedStyle"StringThe name of a style to use for this view."default""onViewStack"BooleanThis field is deprecated. Please use or omit the replace prefix in the target. DEPRECATED Use replace prefix in the target.null"popUpDeltaX"UnitSizeShift in the X direction of the pop-up.0"popUpDeltaY"UnitSizeShift in the Y direction of the pop-up.0"popUpHeight"UnitSizeThe height of the pop-up."245dp""popUpWidth"UnitSizeThe width of the pop-up."395dp""query"StringThe query for a database request.null"queryParams"ArrayThe params for the query.null"staticTemplate"StringClient template that will be used in case the query is not defined or has no data.null"style"StyleThe styles for the new view.null"table"StringThe table for a database request.null"target"ShowViewTargetLocation where the new layout should be displayed."tabActive""template"StringThe template which should be applied to the database result.null"templateData"String,ObjectData for the template to apply.null"templateIsNode"BooleanDetermines if the template is a complete node or just the content.false"title"StringThe title of the new view.null"transition"BooleanIf set to false, will deactivate the fade-in/fade-out effect when a new view opens or closes.true"type"ShowViewTypeThe type of the shown view"layered""view"StringThe name of the view configuration to use.null Inherited From Base ActionBase ActionField ConfigurationsKeyTypeDescriptionDefault Value"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null"leadingDelimiter"StringThe leading mustache delimiter to use.null"params"Object,ArrayObject containing the properties of the action.null"trailingDelimiter"StringThe trailing mustache delimiter to use.null"type"StringType name of the action.null Examples Example 1: As a new view Show ExampleHide ExampleOpen a new view.{ "type": "showView", "params": { "target": "view", "layout": "view_showViewExampleView", "staticTemplate": "view_showViewExampleView", "namedStyle": "home" }} Example 2: As a pop-up Show ExampleHide ExampleOpen a new view as a pop-up.{ "type": "showView", "params": { "target": "popUp", "layout": "popUp_showViewExamplePopUp", "isCancelable": true, "popUpWidth": "80%", "popUpHeight": "40%", "content": { "backButton": { "actions": [ { "type": "closePopUp" } ] } } }} Example 3: As a menu Show ExampleHide ExampleOpen a new view as a menu on the right side.{ "type": "showView", "params": { "target": "menuRight", "name": "view_showViewExampleMenuRight", "layout": "view_showViewExampleMenuRight", "content": { "backButton": { "actions": [ { "type": "closeView", "params": { "name": "view_showViewExampleMenuRight" } } ] } } }} Example 4: With static content Show ExampleHide ExampleOpen a new view with statically inserted content.{ "type": "showView", "params": { "layout": "view_showViewExampleStatic", "target": "menuRight", "content": { "backgroundColor": { "value": "#aaaaaa" }, "text": { "value": "Rechts", "fontColor": "#000000" } } }} Example 5: With content from a database Show ExampleHide ExampleOpen a new view with content retrieved from a database query.{ "type": "showView", "params": { "layout": "view_showViewExampleQuery", "target": "view", "table": "locations", "query": "byId", "queryParams": [ "42" ], "template": "location" }}