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

it didn't run after initial set up #1

Open
Michael-coc opened this issue Jan 7, 2019 · 3 comments
Open

it didn't run after initial set up #1

Michael-coc opened this issue Jan 7, 2019 · 3 comments

Comments

@Michael-coc
Copy link

So I set it up using files under dist folder but am getting the following error:
hostReportError.ts:8 Uncaught TypeError: Cannot read property 'trim' of undefined
at Object.w [as normalize] (dojo.js:471)
at Object.h._sanitizeUrl (IdentityManager.js:197)
at Object.h.findOAuthInfo (IdentityManager.js:181)
at IdentityManager.js:178
at Array.filter ()
at Object.h.registerOAuthInfos (IdentityManager.js:178)
at Object.t._registerOauthInfos (ApplicationBase.js:465)
at Object.t.load (ApplicationBase.js:146)
at e.project (portal.ts:13)
at e._next (switchMap.ts:104)

@ceddc
Copy link

ceddc commented Jan 17, 2019

Hello Michael, hope you found your answer in the meantime.

Just had the same problem testing the gallery, here is what's worked for me :

First, remove "arcgisWebApps" form the following config line it should work on any public group:

"oauthappid": "arcgisWebApps",

If you want to use a private group, just change the "group id" and you can log in.
If you want to use oauth, it seems you need to put the parameter isEsri at false here :

Then you will have to :

@AlejandroPeq
Copy link

AlejandroPeq commented Feb 5, 2019

@Michael-coc remove "oauthappid": "arcgisWebApps", as @ceddc said and load your app using encrypted protocol -> https://

@lshakes
Copy link

lshakes commented Mar 31, 2020

I am new to hosting configurable apps from my own web server, so help is appreciated. I downloaded this app to my web server.

I have gone in to the application.json file and adjusted the group id that I want to show in the gallery. This is a group that is public on ArcGIS Online. However, I am not able to get this to work.

I know the readme file lists those items that can be adjusted but which items are absolutely necessary to adjust to get this to work?

Also, to access this it mentions to serve the contents of the /dist/ directory from my web server. Does that mean the link would look something like this https:///FilterGallery/dist/index.html ?

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

4 participants