0

I am using SharePoint C# CSOM to get items from the SharePoint 2010 site Document Library.

I need to check if the item has any published version. In SSOM we have to Property called HasPublishedVersion to check for the SPListItem.

Is there any similar column that I can use in CSOM c#? or is there any way I can check for published version in CSOM C#?

Can anyone help me on this..?

0

CSOM ListItem not porovide similiar property like HasPublishedVersion in SSOM:

ListItem members

A workaround is that creating a web service with SPListItem.HasPublishedVersion and then call the web service from Client Side with JavaScript or add web reference in Visual Studio:

How to create an ASMX web service on sharepoint 2010 Using VS2010

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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