Is SPDisplayRelatedInfo able display to display the last approved version?

Sep 2, 2013 at 10:40 PM
I was wondering whether the SPDisplayRelatedInfo function is able to select the related info for the last approved version of a list item?

On first impressions, it appears not, but was keen to know whether anyone has attempted and succeeded with this?

I have tried using a CAML query along the lines of
<Where><Eq><FieldRef Name='_ModerationStatus' /><Value Type='ModStat'>Approved</Value></Eq></Where>
without any luck.

I'm not going to die in a ditch over this one, but it would be nice to do.

Cheers

Simon
Sep 3, 2013 at 7:41 PM
I would take a look at the GetVersions operation under Versions and then look at the MSDN documentation link from there. Maybe you can use your CAML on that SPServices op.
Coordinator
Sep 3, 2013 at 7:49 PM
SPDisplayRelatedInfo won't do it, but as glaushine mentions, you may be able to accomplish what you need using multiple Web Service operations.

M.