1

I'm currently working with a spfx web part that utilized managed properties to pull information about documents. I would like to be able to pull the most recent version and the comment associated with that version being published. However, all the out of box managed properties ive tried have only pulled the version number, and not the comment.

I would like to know if it is possible to pull at least the most recent version number and comment. And optimally, the complete version history and comments.

Thanks

1 Answer 1

2

There is no out of box managed property for most recent version and comment associated with the version.

So, you could create the managed property and map with the crawled property “ows__CheckinComment”.

There is no crawled property for the most recent version. We only can get the version number. It is by design.

After all, in SharePoint online, the crawl runs backend and automatically. You should wait for a period of time.

2
  • Perfect! this works well for what i need! Out of curiousity though, is there any property that pulls a total list of the version history? Maybe something that contains an array of all the check in comments?
    – CThomas
    Commented Aug 15, 2019 at 15:56
  • 1
    I am afraid there is no managed property that pulls list of the version history.
    – Amy_MSFT
    Commented Aug 16, 2019 at 1:57

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.