createPage | R Documentation |
Create a new wiki page for the provided course or group.
createPage(
ID,
title = NULL,
body = NULL,
edit = "teachers",
notify = FALSE,
publish = TRUE,
front = FALSE,
server = "test",
...
)
ID |
Course or group id to create the page in |
title |
String of page title. |
body |
String of body content. |
edit |
String of roles that can edit page ("teacher","student","members,"public") |
notify |
Boolean to specify whether users should be notified of creations |
publish |
Boolean to publish the page after creating. |
front |
Boolean to set page as the front page |
server |
Test, beta, production, or other name in R.environ OR full url of server |
... |
Optional page options to pass to processRequest |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.