2

I have to get list of xml for Approval status for component and pages by applying ApprovalStatusData Filter....how can I do this?

i have tried this but it doesn't work:

 var publicationTarget = (PublicationTargetData)client.Read(id, new ReadOptions());
 var approvalStatus = (ApprovalStatusData)client.Read(
                                      publicationTarget.MinApprovalStatus.IdRef, new ReadOptions());

1 Answer 1

4

You can get all of the approval statuses by doing something like:

var approvalStatuses = client.GetSystemWideList(new ApprovalStatusesFilterData);
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.