shojiURL | R Documentation |
Get a resource URL from a Shoji Object
shojiURL(
x,
collection = c("catalogs", "views", "fragments", "orders"),
key,
mustWork = TRUE
)
x |
a shojiObject |
collection |
one of c("catalogs", "views", "fragments", "orders") |
key |
character name of the URL to get from |
mustWork |
logical: error if the URL is not found? Default is |
The indicated URL, or if it does not exist and mustWork
is not
TRUE
, NULL
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.