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
Hi everyone,
I would like to know the node ID immediately after saving a new media item, as I would like to do some post-processing on it.
Is this possible?
e.g. (in pseudocode),
newNodeId = mediaservice.Save(newMediaItem)
Hi Muiris.
The MediaService.CreateMedia() methods returns a object which should get a value for the Id as soon as you save the object. Like: @mediaItem.Id.
That is perfect, many thanks Dennis!
Awesome, glad I could help Muiris! Have a great day! :)
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
Is it possible to capture the node id after saving a new media item
Hi everyone,
I would like to know the node ID immediately after saving a new media item, as I would like to do some post-processing on it.
Is this possible?
e.g. (in pseudocode),
Hi Muiris.
The MediaService.CreateMedia() methods returns a object which should get a value for the Id as soon as you save the object. Like: @mediaItem.Id.
That is perfect, many thanks Dennis!
Awesome, glad I could help Muiris! Have a great day! :)
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.