item_move | R Documentation |
Move item from one folder to another
item_move(sb_id, id_new, ...)
sb_id |
An |
id_new |
Folder/item to move |
... |
Additional parameters are passed on to |
An object of class sbitem
. Same as id
, but with new
parent id
## Not run:
# create 1st folder
(fold1 <- folder_create(user_id(), "bear123"))
(res <- item_create(fold1, "item-to-move"))
# create 2nd folder
(fold2 <- folder_create(user_id(), "bear456"))
# move item in 1st folder to 2nd folder
(res2 <- item_move(res, fold2))
# test identical
identical(res2$parentId, fold2$id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.