New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users avatar through OData #507

Closed
herflis opened this Issue Nov 6, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@herflis
Copy link
Contributor

herflis commented Nov 6, 2018

https://dmsservice.demo.sensenet.com/odata.svc/content(4789)?$select=Avatar&metadata=no
returns the following

{
  "d": {
    "Avatar": {
      "_deferred": "/Root/Sites/Default_Site/demoavatars/alba.jpg"
    }
  }
}

So if I expand this field I get null as the value of the Avatar.

I guess it should work like other reference fields with expanding it and using Avatar.Path and not Avatar.__deferred

@herflis herflis added the bug label Nov 6, 2018

@kultsar kultsar modified the milestones: Sprint 173, Sprint 172 Nov 19, 2018

@kavics kavics assigned kavics and unassigned kavics Nov 26, 2018

@kultsar kultsar modified the milestones: Sprint 172, Sprint 173 Nov 28, 2018

@kavics kavics removed their assignment Dec 5, 2018

@kultsar kultsar closed this Dec 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment