Methods
(static) from(configurationElement) → {$k.ApplicationConfiguration}
Returns the application confguration defined by the element
| Name | Type | Description | 
|---|---|---|
configurationElement | $k. | The application configuration element (use semantic element, identifier oder element id)  | 
- Since
 - 4.4.0
 
configElement() → {$k.Instance}
- Since
 - 4.1.0
 
- Type:
 - $k.
Instance  
latexTemplateData(domainModelopt, customeropt) → {object}
Generates template data for printing viewconfig based documents.
| Name | Type | Attributes | Description | 
|---|---|---|---|
domainModel | $k. | <optional> | Initial domain model for the application.  | 
customer | string | <optional> | Customer identifier for accessing customized behavior.  | 
- Since
 - 5.4.0
 
Template data for printing viewconfig based documents.
- Type:
 - object
 
panelContents(elementOrObjectopt, keyFilteropt, detailFilteropt) → {object}
Render the panel contents as a literal object
| Name | Type | Attributes | Description | 
|---|---|---|---|
elementOrObject | object | <optional> | one of: a) semantic element that should be used as start object b) a PanelActivationContext to be used as start configuration  | 
keyFilter | object | <optional> | Alternative 1 (preferred): a $k.JSONRenderContext Alternative 2 (compatibility only): A filter. See $k.JSONRenderContext.prototype.setFilters().  | 
detailFilter | object | <optional> | Only used if the key filter is not a $k.JSONRenderContext. See $k.JSONRenderContext.prototype.setLevelsOfDetail()  | 
- Since
 - 4.4.0
 
- Deprecated
 - This method has no effect anymore.
 
The panel contents
- Type:
 - object
 
render(keyFilteropt, detailFilteropt) → {object}
Render panels as a literal object
| Name | Type | Attributes | Description | 
|---|---|---|---|
keyFilter | object | <optional> | Alternative 1 (preferred): a $k.JSONRenderContext Alternative 2 (compatibility only): A filter. See $k.JSONRenderContext.prototype.setFilters().  | 
detailFilter | object | <optional> | Only used if the key filter is not a $k.JSONRenderContext. See $k.JSONRenderContext.prototype.setLevelsOfDetail()  | 
- Since
 - 4.4.0
 
- Deprecated
 - This function is deprecated and might be removed in future releases
 
The rendered object
- Type:
 - object
 
setRenderContext(renderContextObject)
Set render context
| Name | Type | Description | 
|---|---|---|
renderContextObject | object | 
- Since
 - 5.3.0
 
- Deprecated
 - This function is deprecated and might be removed in future releases
 
toJSON()
- Since
 - 5.2.0
 
- Deprecated
 - This function is deprecated and might be removed in future releases