POST
|
Any updates on this - as of 4.16, i'm also seeing this issue with the JS API
... View more
08-17-2020
12:16 PM
|
0
|
1
|
613
|
POST
|
Any update on this? I'm running into this exact same issue and cannot find any documentation or examples anywhere that explain how to achieve this. I'm beginning to think this isn't possible. My scenario: A front-end client app using Azure AD Authentication. A back-end custom API using Azure AD Authentication. An ArcGIS Enterprise site with Azure AD IDP and SSO configured. The front-end client app has permissions for the back-end custom API app registration and the ArcGIS Enterprise app registration. When I request an access token from Azure AD (using my client app id), and then register this token with the JSAPI IdentityManager, when calling portal.signIn(), i get a 'token is invalid' response. Not sure what I'm missing. Using the Microsoft Authentication Library (MSAL) I can very easily manage OAuth flow between client-app and custom back-end API. I don't see why I cannot achieve the same flow with ArcGIS Enterprise, as it is also registered in Azure AD. Any help or insight greatly appreciated!
... View more
01-09-2020
09:50 PM
|
2
|
2
|
3595
|
POST
|
Thanks Matt. It makes sense that the Search widget would be designed to work with feature layers that have geometry and the default behavior would require this. I've turned off the default behavior and hooked in to the suggest, search and select result events for custom behavior. I'm still not sure what changed between API versions because this wasn't an issue as of a few versions ago.
... View more
07-26-2018
03:27 PM
|
0
|
0
|
533
|
POST
|
I had a hook on the 'select-result' event when clicking a suggested result from the Search widget. It seems this event is not firing anymore when clicking a suggested result, and instead a full search is being performed. We are using 3.25 -- i've tried with 3.24 as well. It doesn't seem like anything changed within the Search widget from previous versions. Is the 'select-result' event supposed to fire when clicking a suggested result ? It seems like it should since the work has already been done to retrieve the feature -- why execute another search? Can anyone confirm this? Update 7/25/2018: I've tracked down the issue to a flag passed to the _hydrateResults private method of the Search class. This flag (3rd parameter of the method) is hardcoded as false in the minified code so i can't tell what this flag represents. When set to true, it allows feature layer search results without geometry (i.e. from a table) to be passed on as a valid results, which will then lead to the select-result event firing as appropriate. If anyone has any info on what this flag is, it would be appreciated!
... View more
07-24-2018
11:44 AM
|
0
|
2
|
796
|
POST
|
Great! I see your changes in the GitHub repo. Thanks for the quick response!
... View more
07-19-2018
02:38 PM
|
0
|
0
|
461
|
POST
|
Hi all, I am doing a custom build using JSAPI 3.25. The dojo build is failing because when trying to optimize the css file located in `esri/themes/calcite/dijit/calcite.css`, it fails to find the relative paths defined as `../fonts/avenir-next/<name of font file>`. It looks like the fonts folder isn't even downloaded by bower. Anyone have any insight on this?
... View more
07-19-2018
12:15 PM
|
0
|
3
|
682
|
Title | Kudos | Posted |
---|---|---|
2 | 01-09-2020 09:50 PM |
Online Status |
Offline
|
Date Last Visited |
09-22-2022
11:51 PM
|