Skip to content
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

getContent() should handle un-indexed (usually private) content #341

Closed
tomwayson opened this issue Aug 28, 2020 · 0 comments · Fixed by #345
Closed

getContent() should handle un-indexed (usually private) content #341

tomwayson opened this issue Aug 28, 2020 · 0 comments · Fixed by #345
Assignees

Comments

@tomwayson
Copy link
Member

tomwayson commented Aug 28, 2020

The hub indexer cannot index private items, so we need to fetch them at runtime from Online.

@drewctate took a glance and it appears the way the composer service in the Hub app works is to try and fetch from the Hub API, and if it gets a 404 then it tries to fetch from Online w/ the user's credentials.

@tomwayson tomwayson self-assigned this Aug 28, 2020
@tomwayson tomwayson added this to the Content views MVP milestone Aug 28, 2020
tomwayson added a commit that referenced this issue Aug 31, 2020
AFFECTS PACKAGES:
@esri/hub-content

ISSUES CLOSED: #341
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant