DOC
|
Jake, Your Tool is very helpful, I understand Joy’s View. What would be very helpful would be for you to enhance your Tool to support more than 1 image attachment. For non-public apps we often have 4 or 5 attachments with 4-5 corresponding fields of 1,000 text length to hold the URLs. Sure would be nice to have a tool to address that work flow. I can live with running the Tool every 2 weeks. If only I had control on the size and position of the image inside the pop up my dreams would come true. Thank you, Mike Cohen GIS Consultant 909.705.6953 Sent from my iPhone
... View more
08-03-2018
12:13 PM
|
0
|
0
|
3860
|
DOC
|
Jake, Great tool, suggestion for a enhancement. support multiple attachments to multiple fields that will hold each link. Many maps/apps use more than one attachment, what a work flow saver your Tool would be if it could address more than one attachment. Now if you could figure out a way to resize an image and center it within the popup window I'll buy you dinner!
... View more
08-03-2018
11:50 AM
|
0
|
0
|
3859
|
IDEA
|
Jake has created a excellent tool for displaying an attached image inside of a popup window in AGOL. It creates a 15 day Token and you can run his Tool every 2 weeks to automatically renew your Tokens (not necessary if your application is public). I would like to see enhancements to allow for multiple attachments to be updated to multiple fields instead of just the current one to one relationship. This could really streamline the workflow when you have 3,4 or 5 attachments and you want them all to display in the popup window. Jake Skinner
... View more
08-03-2018
11:46 AM
|
2
|
0
|
261
|
IDEA
|
The Token issue has been addressed by Jake Skinner for non-public apps. Still really would like control on placement and size of the imagery inside a pop-up window.
... View more
08-03-2018
11:35 AM
|
0
|
0
|
262
|
DOC
|
Jake, Is that right?! So public sharing does not expire, thank you for that information. Really appreciate the support! Mike Cohen GIS Consultant Sent from my iPhone
... View more
08-02-2018
06:50 PM
|
0
|
0
|
3859
|
DOC
|
Researching Tokens and their live span I came across the following, can AGOL tokens be set to obtain a new access token automatically and continually refresh forever? Better yet, permanent tokes. My application for the Botanic Gardens seems to be doing this somehow, but I'm not aware of anything I did to set it up that way, I assumed that was how it always worked. Short-lived access tokens and long-lived refresh tokens A common method of granting tokens is to use a combination of access tokens and refresh tokens for maximum security and flexibility. The OAuth 2.0 spec recommends this option, and several of the larger implementations have gone with this approach. Typically services using this method will issue access tokens that last anywhere from several hours to a couple weeks. When the service issues the access token, it also generates a refresh token that never expires and returns that in the response as well. (Note that refresh tokens can’t be issued using the Implicit grant.) When the access token expires, the application can use the refresh token to obtain a new access token. It can do this behind the scenes, and without the user’s involvement, so that it’s a seamless process to the user. The main benefit of this approach is that the service can use self-encoded access tokens which can be verified without a database lookup. However, this means there is no way to expire those tokens directly, so instead, the tokens are issued with a short expiration time so that the application is forced to continually refresh them, giving the service a chance to revoke an application’s access if needed. From the third-party developer’s perspective, it is often frustrating to have to deal with refresh tokens. Developers strongly prefer access tokens that don’t expire, since it’s much less code to deal with. In order to help mitigate these concerns, services will often build the token refreshing logic into their SDK, so that the process is transparent to developers.
... View more
08-02-2018
12:30 PM
|
1
|
0
|
3859
|
DOC
|
Jake, I've been doing this for a while with the UCR Botanic Gardens images of the plant specimens, I currently support up two 4 images to be associated with each plant record. Amazingly the tokens have not expired for over 7 months and counting, but my other apps the Tokens are expiring and causing me problems. If you go to ArcGIS Web Application you can see my current app. I don't know how these tokens are currently holding up, I thought that was the normal, but it isn't. In your code above is the Token everlasting? That's what I'm seeking, never expire! Also, do you know how to center and resize an image that is brought into a pop-up window? I don't see any parameters to do so in AGOL currently, at least not when the CSS is hosted on Amazon Cloud services which is the case at UCR. Thank you, Mike Cohen
... View more
08-02-2018
12:22 PM
|
0
|
0
|
3859
|
IDEA
|
I've been using the pop-up window to display images inside of the pop-up windows of AGOL. I would paste the link inside of a field to hold the URL generated by attached image. What I'm requesting is 3 fold: 1. Permit the posting of an image inside of a pop-up window with a token that will never expire 2. Allow for the centering or other positional locating of the image inside of the pop-up window 3. Allow for the resizing of the image inside of the pop-up window. Currently this is done by CSS located on the Amazon Cloud server, with no (that I'm aware of) way to control these parameters. #agol popups #configurable app pop up
... View more
08-02-2018
12:11 PM
|
2
|
1
|
325
|
Title | Kudos | Posted |
---|---|---|
1 | 08-02-2018 12:30 PM | |
2 | 08-02-2018 12:11 PM | |
2 | 08-03-2018 11:46 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|