Skip to content

What's up with the created_by property of a file version? #31

@dansgithubuser

Description

@dansgithubuser

Given file = site.file url, file.versions[0].created_by cannot be accessed, giving
Sharepoint::SPException: The expression "SP.FileVersiond46a2310-db1d-4461-9f18-b6e8dbda498c/CreatedBy" is not valid.

I can print file.versions[0] and observe:
"CreatedBy"=>{"__deferred"=>{"uri"=>"https://....sharepoint.com/_api/SP.FileVersion.../CreatedBy"}}

Is there some way to get deferred values that I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions