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

Passing a hub url to ArcGISContextManager.create() defaults to hub.arcgis.com #776

Open
cthackt opened this issue Apr 21, 2022 · 1 comment

Comments

@cthackt
Copy link

cthackt commented Apr 21, 2022

Maybe I'm doing this wrong, but I am attempting to pass my company's hub site to .create(), and it's not working.

const ctxMgr = await ArcGISContextManager.create(undefined, undefined, undefined, undefined, "https://sccwrp.hub.arcgis.com");

@cthackt cthackt closed this as completed Apr 21, 2022
@cthackt cthackt reopened this Apr 21, 2022
@cthackt
Copy link
Author

cthackt commented Apr 21, 2022

I was able to pass my ArcGIS Online portal "sccwrp.maps.arcgis.com" to .create() through the interface.

However, now when I try to query data from my hub site, I see that the _hubUrl is still set to "hub.arcgis.com".

How do I fix this?

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

No branches or pull requests

1 participant