POST
|
You're welcome Kathy!. I'm going to try and make these changes as you suggested and use your new deployable version. Hopefully I can do this I'm not very savy with javascript but you've given awesome directions! Good luck with that! . are the individual locations within a tab referenced similar to the 'story-tab-navigation' you've added or would that amount to specifying each location somehow? Nope, I forgot to add that too, but I have added it to the ToDo List (a.k.a. repo issues). If this is very important & urgent for you and want me to help you find a partner willing to help you with that just let me know. Cheers!
... View more
03-19-2018
04:27 AM
|
0
|
1
|
357
|
POST
|
I think that endpoint is only valid for Portal for ArcGIS, but not for ArcGIS Online: Create User—ArcGIS REST API: Administer your portal | ArcGIS for Developers Example: Add members to the portal—Portal for ArcGIS (10.6) | ArcGIS Enterprise I can not find that on ArcGIS Online, ialixandroaeesriro-ro-esridist, Tom Wayson, Gavin Rehkemper, John Gravois any of you could confirm us that?
... View more
03-19-2018
04:19 AM
|
0
|
0
|
1185
|
POST
|
Hi Kathy Smikrud, I have already talked to Mark Cooney using the GitHub issues and finally I have made a fork of the original repo and added some changes to help you with this. So now you can download a new deployable version here, you just need to: Add your GA code in the index.html Check the custom-scripts.js file and decide if you want to track something different On this screenshot you will see it is already tracking: I hope this is helpful to you. Cheers!
... View more
03-15-2018
12:02 PM
|
1
|
7
|
1176
|
POST
|
About the other question, I'm not sure if it is possible for you to create a user though the REST API. I have just tried using this endpoint: https://{{urlKey}}.maps.arcgis.com/sharing/rest/portals/self/invite And I tried to send this payload: {
"invitations": [{
"username": "USERNAME",
"password": "PASSWORD",
"firstname": "FNAME",
"lastname": "LNAME",
"fullname": "FNAME",
"email": "EMAIL",
"role": "account_user",
"level": "2",
"provider": "enterprise",
"userType": "arcgisonly"
}]
} But it didn't work (this is the Postman collection I used). Sorry I can't be more helpful.
... View more
03-15-2018
05:33 AM
|
0
|
0
|
1185
|
POST
|
That REST API is not documented , I found it debugging the browser, but in your case you are talking about a name user inside an org. A public account is not linked to an organization and only can create items (Web Maps, Web Mapping Applications, etc) but it is very limited.
... View more
03-15-2018
05:03 AM
|
0
|
0
|
1185
|
POST
|
Hi Jerry, What kind of user? An user in an organization? <- Create User—ArcGIS REST API: Administer your portal | ArcGIS for Developers An ArcGIS.com public account? <- https://www.arcgis.com/sharing/rest/community/signup What do you mean with "the provider=enterprise"? Cheers
... View more
03-15-2018
01:27 AM
|
0
|
4
|
1185
|
POST
|
Aha, great, if you have already downloaded the 'ready-to-deploy' app you only would need: Add your Google Analytics code to the template as explained in the article Bind the storymap events to a method using the 'ga.send()' function from Google Analytics to each individual event you want to track. To do so: Edit the custom-scripts.js file Track events "story-whatever-event". I have checked and I found three events implemented in the core/viewer: story-update-entries story-tab-navigation story-perform-action-media I guess you would need to use the "story-tab-navigation" event, something like: topic.subscribe("story-tab-navigation", function(index){
console.log(`Index = ${index}`);
var data = {
hitType: 'event',
eventCategory: 'section',
eventAction: 'story-tab-navigation',
eventLabel: strip(app.data.getStory()[index].title).trim()
};
console.log('Sending data to GA: ', data);
ga('send', data);
});
topic.subscribe("story-update-entries", function(arg){
debugger
});
topic.subscribe("story-perform-action-media", function(arg){
debugger
}); But for some reason it is not working to me (but it worked with the StoryMap Journal), I have opened an issue on Github and let see if mcooney-esristaff can help us with this. Cheers!
... View more
03-14-2018
08:52 PM
|
0
|
0
|
1175
|
POST
|
Hi Kathy Smikrud, I know how to do that but not using the template hosted on ArcGIS Online. I could help you doing so, adding some custom code to the existing template on Github, but afterwards you would have to add it to your organization (are you using ArcGIS Online or Portal). This way you would have to host it by your own or if you don't mind I could hosting it on Github for you. Would that work for you? Cheers!
... View more
03-13-2018
10:03 PM
|
0
|
2
|
1175
|
POST
|
Thanks Ramunas Kraujutis!! it works now! So finally I created this item: http://www.arcgis.com/home/item.html?id=444e615e7b9f471ab2a4c5d9194b538e#overview I have added this request to a Postman collection we started on Github. Thanks again!
... View more
03-13-2018
07:09 PM
|
2
|
0
|
1248
|
POST
|
Thank you very much Ramunas Kraujutis, I have just tried this: curl -X POST \ https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer/CreateMapArea/submitJob \ -H 'cache-control: no-cache' \ -H 'content-type: application/x-www-form-urlencoded' \ -d 'mapItemId=4965122d0a9c4ea187fa643cda58c670&token=MY_TOKEN_HERE' But I'm still getting the same response, maybe I didn't understand your message, did I? Cheers, Raul
... View more
03-13-2018
10:18 AM
|
0
|
2
|
1248
|
IDEA
|
Hi Kelly, In my case I would love to be able to follow any item created by an user, but it would be also great to be able to do the same thing within a group or organization. Updated, deprecations, etc would be nice but not that important. This way I would be able to customize a timeline using an RSS Reader or receive email notifications using any service like IFTTT, Zapier, ... Thanks
... View more
03-13-2018
06:33 AM
|
0
|
0
|
1030
|
POST
|
I'm trying to follow the documentation on this page: Create Map Area—ArcGIS REST API: Packaging Service | ArcGIS for Developers but I get an "Services Directory has been disabled" error message. I have tried with this WebMap, using POST: curl -X POST \ 'https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer' \ -H 'cache-control: no-cache' \ -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \ -F mapItemId=4965122d0a9c4ea187fa643cda58c670 \ -F token=MY_TOKEN_HERE And also GET: curl -X GET \ 'https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer?mapItemId=4965122d0a9c4ea187fa643cda58c670&token=MY_TOKEN_HERE' \ Am I doing something wrong? Thanks in advance, Raúl cc: Patrick Arlt, John Gravois, Matthias Schenker, Paul Ross
... View more
03-13-2018
04:09 AM
|
0
|
5
|
1570
|
DOC
|
Ey Brent! I just saw you talk is tomorrow, I'll try to be there. https://devsummit2018.schedule.esri.com/schedule/2091677181 Cheers!
... View more
03-06-2018
11:50 AM
|
0
|
0
|
2090
|
DOC
|
Hi Brent, do you already know if are you finally going to do this presentation? Cheers!
... View more
02-07-2018
08:40 AM
|
0
|
0
|
2090
|
POST
|
Thanks Morten and sorry for my late response (I had a crazy week last week). Cheers!
... View more
01-29-2018
09:28 PM
|
0
|
0
|
813
|
Title | Kudos | Posted |
---|---|---|
1 | 03-19-2024 04:20 AM | |
1 | 08-25-2023 03:54 AM | |
1 | 04-10-2023 02:20 AM | |
5 | 01-27-2023 02:00 AM | |
1 | 01-24-2023 08:38 PM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|