IContentItemCheckInOnProfile Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax void CheckInOnProfile(
IPublishingProfile profile,
bool recursive,
string comments = ""
)
Sub CheckInOnProfile (
profile As IPublishingProfile,
recursive As Boolean,
Optional comments As String = ""
)
void CheckInOnProfile(
IPublishingProfile^ profile,
bool recursive,
String^ comments = L""
)
abstract CheckInOnProfile :
profile : IPublishingProfile *
recursive : bool *
?comments : string
(* Defaults:
let _comments = defaultArg comments ""
*)
-> unit
Parameters
- profile
- Type: Ingeniux.CMSIPublishingProfile
The publishing profile that includes the publishing targets toward which to check in the page. If not specified, no publishing target will mark the page on its latest version. - recursive
- Type: SystemBoolean
Specifies whether to also check in the descendants of this Page together. - comments (Optional)
- Type: SystemString
The comments for the check in. Should be the description of the changes and their purpose.
Remarks If the page was already checked in, the operation will continue to check in descendants and mark the page's latest version on the publishing targets included in the publishing profile.
The current user must have permission to check in and check out pages. Otherwise, an error will be thrown.
The current user must have Full Access to this page. Otherwise, an error will be thrown.
If the page is not assigned to the current user and the current user doesn't have to right to check in other user's pages, an error will be thrown.
If the page contains required Elements that don't have values filled in, an error will be thrown.
Two events are fired during execution of this method: BeforePageCheckIn and AfterPageCheckIn.
See Also Reference
[!:Ingeniux.CMS.IContentItem.CheckedInPage]