Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When creating a document using the IContentService SaveAndPublish method, is there a way to have the new items id returned?
Hi Damion,
The SaveAndPublish method returns a PublishResult object, which contains a property content of type IContent.
SaveAndPublish
PublishResult
content
IContent
Is this what you are looking for?
Thanks for the reply Jeffrey, yes that was it, spot on.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
ContentService SaveAndPublish, get id of newly created document
When creating a document using the IContentService SaveAndPublish method, is there a way to have the new items id returned?
Hi Damion,
The
SaveAndPublish
method returns aPublishResult
object, which contains a propertycontent
of typeIContent
.Is this what you are looking for?
Thanks for the reply Jeffrey, yes that was it, spot on.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.