DynamicContent: different between Visible and ApprovalWorkflowState properties
Hello,
How would the data returned using this:
listOfDynamicContentItems.Where(x => x.Visible == true);
differ to this:
listOfDynamicContentItems.Where(x => x.ApprovalWorkflowState = "Published");
Thank you, Michael
Hello Michael,
If you filter the dynamic content items or any content item by their ApprovalWorkflowState property as following:
listOfDynamicContentItems.Where(x => x.ApprovalWorkflowState =
"Published"
);
listOfDynamicContentItems.Where(x => x.Visible && x.ApprovalWorflowState ==
"Published"
);