Description Usage Arguments Value
Promote content from one Connect server to another
1 | promote(from, to, to_key, from_key, app_name)
|
from |
The url for the server containing the content (the originating server) |
to |
The url for the server where the content will be deployed (the destination server) |
to_key |
An API key on the destination "to" server. If the destination content is going to be updated, the API key must belong to a user with collaborator access on the content that will be updated. If the destination content is to be created new, the API key must belong to a user with publisher priviliges. |
from_key |
An API key on the originating "from" server. The API key must belong to a user with collaborator access to the content to be promoted. |
app_name |
The name of the content on the originating "from" server. If content with the same name is found on the destination server, the content will be updated. If no content on the destination server has a matching name, a new endpoint will be created. |
The URL for the content on the destination "to" server
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.