POST
|
This demo: Access ArcGIS Online items using OAuthentication - 4.13 is my starting sample to build my own application. It uses require(), what seems to be requireJS. I am new to that, sorry. I want to set onclickhandlers in the example, so clicking on the thumbnail should open a new map. How can I call a function in the scope of the require() statement, from an HTML element (onclick), that is outside the scope of the require() statement? Help appreciated.
... View more
02-19-2020
03:53 AM
|
0
|
4
|
1402
|
POST
|
Yes, simple mistake. I am not used working with ":" in queries and was focussing on that. Thank you very much for your help. I have the correct maps from the group.
... View more
02-18-2020
11:26 PM
|
0
|
0
|
1186
|
POST
|
Hi Leo, I am struggling with the query parameters. This works: var queryParams = new PortalQueryParams({ query: 'group:' + selectedID, }); This works: var queryParams = new PortalQueryParams({ query: 'type:Map, }); This gives no result: var queryParams = new PortalQueryParams({ query: 'group:' + selectedID + 'AND type:Map', }); seems you can't add 2 items in the search query. Any idea how I can have the 2 items in 1 query?
... View more
02-18-2020
01:00 PM
|
0
|
2
|
1186
|
POST
|
That is from 2014, I would like to use the latest Javascript API version....
... View more
02-18-2020
11:34 AM
|
0
|
2
|
969
|
POST
|
This is a working example that gets the Content in "My Content" on the online ArcGIS portal. Access ArcGIS Online items using OAuthentication - 4.13 I am trying to change this example to get the Contents of a Group in "My Groups". Is there a code example available, or can you give me a clear explanation how to achieve this? I'm new to ArcGIS so not experienced at all. Highly appreciated.
... View more
02-16-2020
03:08 AM
|
0
|
5
|
1298
|
POST
|
Hi Skyler, Did you succeed in getting the content from a Group? Do you have any sample code to get me going. Appreciated Thanks
... View more
02-16-2020
02:39 AM
|
0
|
0
|
969
|
POST
|
Hi Kelly, Your sample gives me only the maps from the "My Content" tab in ArcGIS online. I want to get the maps from a group in My Groups, I am assigned to the group but I can't figure out how I can get the results from a group.
... View more
02-16-2020
02:28 AM
|
0
|
6
|
969
|
POST
|
There is no redirect URL created when I add a new application, nor there is a default value. The field is empty, but I enter this URI: urn:ietf:wg:oauth:2.0:oob That works so OK with me. Thank you.
... View more
02-14-2020
10:42 AM
|
1
|
0
|
602
|
POST
|
Hi Erwin, What should I do with this redirect URL, it is not used in your sample app... Also when I enter a new application at this link: https://developers.arcgis.com/applications There is no redirect URL generated. Seems to me there should be a link between the clientID and the map, but that seems not to be the case. I have this working using your clientID and my private map. Totally not clear to me...
... View more
02-14-2020
09:54 AM
|
0
|
2
|
602
|
POST
|
Hi Erwin, YES, it works but there is a problem. I used my clientId that still works on a Javascript private map. When I replace your clientId, with my clientId I get an error: Invalid redirect_uri Error: 400 I created several clientId's but could not get a working Id. What should I do to get my own working clientId? Thank you.
... View more
02-14-2020
12:40 AM
|
0
|
4
|
1036
|
POST
|
Hi Erwin, Do you have this sample still on your agenda? Waiting for it. Appreciated!
... View more
02-12-2020
12:33 AM
|
0
|
6
|
1036
|
Title | Kudos | Posted |
---|---|---|
1 | 02-14-2020 10:42 AM |
Online Status |
Offline
|
Date Last Visited |
01-31-2023
09:48 AM
|