copyWiki | R Documentation |
Copies wikis and updates internal links.
copyWiki(entity, destinationId, entitySubPageId=NA, destinationSubPageId=NA, updateLinks=TRUE, updateSynIds=TRUE, entityMap=NA)
entity |
A synapse ID of an entity whose wiki you want to copy |
destinationId |
Synapse ID of a folder/project that the wiki wants to be copied to |
entitySubPageId |
Can specify subPageId and copy all of its subwikis |
destinationSubPageId |
Can specify destination subPageId to copy wikis to |
updateLinks |
Update all the internal links. (e.g. syn1234/wiki/34345 becomes syn3345/wiki/49508) |
updateSynIds |
Update all the synapse ID's referenced in the wikis. (e.g. syn1234 becomes syn2345) |
entityMap |
An entity map 'oldSynId','newSynId' to update the synapse IDs referenced in the wiki |
A list of Objects with three fields: id, title and parentId.
## Not run:
copyWiki("syn123", "syn456")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.