Forums
>
Document Exchange
>
API
API to lock / unlock entry
Last Post 10/16/2015 3:37 PM by
Doug Moore
. 1 Replies.
Author
Messages
Doug Moore
New Member
Posts:3
10/16/2015 3:08 PM
how do I use API to lock / unlock an entry?
Dim oEntry As Bring2mind.DNN.Modules.DMX.Entities.Entries.EntryInfo = Bring2mind.DNN.Modules.DMX.Entities.Entries.EntriesController.GetEntry(PortalId, iEntry)
oEntry.LockedBy = Me.UserId
something like this? ^
Doug Moore
New Member
Posts:3
10/16/2015 3:37 PM
hm right after I posted that I thought - it should be in the entries controller and yep there it is
EntriesController.LockEntry(PortalId, Me.UserId, iEntry, New TimeSpan(6, 0, 0))
Forums
>
Document Exchange
>
API