Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi Rich,
You can get like this-
using EPiServer.Approvals.ContentApprovals;
ContentApprovalDefinition definition;
IApprovalRepository approvalRepository;
var approvals = await approvalRepository.ListAsync(new ContentApprovalQuery
{
Username = "user",
Status = ApprovalStatus.InReview,
DefinitionID = definition.ID
});
More info-
I am looking for a solution to get all content with a status "Awaiting Your Review" when Content approval is enabled. I know its available in Task Pane but I want to access this through code.