getCustomContent {AnalysisPageServer} | R Documentation

## Functions to manage custom content other aspects of the request-specific environment

### Description

Custom content are HTML rendered as additional accordion sections. From the data structure point of view these are represented as a named of list of character vectors. The names are the section headers. Use `appendCustomContent` to add more content.

`appendCustomContent` adds custom content to be rendered in separate accordion section

`clearRequestEnv` clears the environment associated with the last request.

### Usage

    getCustomContent()

    appendCustomContent(sectionName, content)

    clearRequestEnv()

### Arguments

`sectionName` | Name of section (string)
`content` | Character vector of HTML content to append

### Value

`getCustomContent` returns named list of character vectors

`appendCustomContent` does not return anything good.

`clearRequestEnv` does not return anything useful

### Author(s)

Brad Friedman

### Examples

    appendCustomContent(sectionName = "foo", content = c("<i>bar</i><br>","<b>baz</b>"))
    getCustomContent()
    clearRequestEnv()

[Package AnalysisPageServer version 1.18.1 Index]