DOC
|
Each browser will implement the storage API differently, but for IE11 I think it's stored in the user profile at %userprofile%\Local Settings\Application Data\Microsoft\Internet Explorer\DOMStore Hope that helps, David
... View more
11-09-2017
05:19 PM
|
0
|
0
|
6159
|
DOC
|
The service is only needed for older browsers that do not support downloading from dataurl. The web service would accept a post of the saved session information and returns it as a file attachment to the http response. You're basically sending the string to the server and getting it back as a downloadable file. Here's an example using ASP.NET MVC /// <summary> /// accepts a post from client and returns a file attachment of the given content with the given filename /// </summary> /// <param name="content">content to save to file</param> /// <param name="filename">name fo the file</param> /// <returns></returns> [HttpPost] [Route("")] public HttpResponseMessage Post([FromBody]SaveToFileModel model) { HttpResponseMessage result = new HttpResponseMessage(HttpStatusCode.OK); result.Content = new StringContent(model.Content); //a text file is actually an octet-stream result.Content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream"); //used attachment to force download result.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment"); result.Content.Headers.ContentDisposition.FileName = model.FileName; return result; } Hope that helps. David
... View more
08-16-2017
07:51 PM
|
1
|
0
|
6159
|
DOC
|
Pull requests are accepted, Lefteris. Or if you prefer to send me the code I can merge in your changes.
... View more
11-02-2016
03:00 PM
|
0
|
0
|
15227
|
DOC
|
Chrome should store about 5 million characters in localStorage. Is your sessions string longer than that? You can use the resources tab on Chrome developer tools to view the contents of localStorage. The quota is applied to all apps in the same domain, so there could be other apps that are also using localStorage.
... View more
06-05-2016
12:27 PM
|
0
|
0
|
15227
|
DOC
|
Visit http://caniuse.com/#feat=download to see if your browser supports downloading from data urls. If not, then you'll need to enable the Use Server To Download File option and create a service that returns the session file as an attachment. Note that a web service that downloads the session file is not included in the widget. It lives outside the widget on your own web server.
... View more
02-23-2016
06:09 AM
|
0
|
0
|
15227
|
DOC
|
I'm glad you got it working, Daniel. However, that process does not sound right. The installation zip file may have been messed up. Can you download the zip file again. There should be a PDF to describe the install process and the folder structure
... View more
02-23-2016
06:09 AM
|
0
|
0
|
15227
|
DOC
|
The WAB should copy the widget folder, Daniel. I'm not sure why it's not, but I'm seeing the same thing. Maybe someone will have a suggestion on how to fix that. Get the latest zip file. Then copy the SaveSession folder from the zip to the widgets folder so it should be \arcgis-web-appbuilder\server\apps\[YOUR APP ID]\widgets\SaveSession folder. After that's copied you should be able to add and configure the widget. The error you show is that the WAB can't find a file it expects.
... View more
02-22-2016
07:17 PM
|
0
|
0
|
15227
|
DOC
|
Sorry to hear about the problems, Daniel. When you add a widget to an existing app, the WAB should copy the widget folder to the app's widget folder. Can you double check that your app has the Widgets\SaveSession folder. If not, you may need to help it out by copying the arcgis-web-appbuilder\client\stemapp\widgets\SaveSession folder to the \arcgis-web-appbuilder\server\apps\[YOUR APP ID]\widgets\SaveSession folder. Each app has a number you can see in the url. Hope that helps.
... View more
02-22-2016
02:42 PM
|
0
|
0
|
15224
|
DOC
|
That's right, Nicholas. I added a fix for this. Thanks for letting me know.
... View more
02-21-2016
07:35 PM
|
0
|
0
|
15224
|
DOC
|
Sure, you would select all layers when adding the map service to the configuration. If you add more layers to the service later on, you would need to update the widget configuration to include those new layers. A single entry in the widget can add all layers from a map service - or just some layers. Also, you can have multiple entries for the same service that show different layers.
... View more
02-08-2016
07:29 AM
|
0
|
0
|
4900
|
DOC
|
Thanks for the suggestion, Rebecca. I created a blog post that lists all the custom widgets for WAB https://community.esri.com/people/softwhere/blog/2016/02/06/custom-wab-widgets
... View more
02-06-2016
11:09 AM
|
0
|
0
|
3447
|
DOC
|
The SaveSession Widget for ArcGIS Web AppBuilder enables users to save the current map settings into a session and restore them again later. A saved session includes the extent, visible layers and annotations of the current map. Sessions may be saved and loaded from files so they can be shared with others. Using the Widget The SaveSession Widget is an in-panel widget that will be displayed in the toolbar of your WebApp Builder application. Click the icon display the SaveSession panel. Saving a Session Once you have the map just the way you want it - zoomed to the area and layers turned on, enter a name for the session and click the Save button. The session will be added to the Saved Sessions list. Restoring a Session To return the map to the same state as when you saved the session, you can double-click the title of the session to load the map. Managing Sessions in the List Hover over the Actions column for a session entry to reveal the actions that can be performed on the entry. Load Map = will load the restore the selected session to the current map Download Map = will save the session entry to a file that may be shared. Edit = allows the user to change the session name *Move Up - Down * = lets you arrange the entries in the session list in the desired order Delete = click the Delete button to remove the entry from the list Sharing Sessions Saved Sessions may be shared with other users or another browser on the same PC by saving the session to a file and then loading the session from the file into the session list. To save a single session to a file, click the Download Map action for the entry. To save all sessions in the list to a file, click the Save to file link. To load the sessions from a file, click the Load from file link to display the Load sessions from file dialog Click the Choose File button and select the file to load. The selected file must be a saved session file. All sessions from the file will be loaded. If a loaded session has the same name as an existing session, a number will be appended to the session to make the name unique. Widget Setup Source code and installation instructions may be found at GitHub - softwhere/SaveSession-Widget v2.7 - released on 4/3/2018 Download Thanks to the City of Garland, Texas for sponsoring the initial development of the SaveSession Widget and releasing it to the community.
... View more
02-06-2016
09:57 AM
|
12
|
113
|
40470
|
DOC
|
The ChangeWebMap Widget for ArcGIS Web AppBuilder allows users to switch the map content to another web map. Using the Widget The ChangeWebMap Widget is an in-panel widget that will be displayed in the toolbar of your WebApp Builder application. Click the icon display the Change Web Map panel. Public Content Tab The Public Content tab lists the web maps that are accessible to every one. When configuring the ChangeWebMap widget, the site administrator can filter the list of available web maps to a particular group or type. My Content Tab The My Content tab lists the web maps that are accessible to the current user. The first time the tab is displayed, you will need to sign into your Portal account. Once logged in, the web maps accessible to your account will be displayed in the My Content tab. Changing the Web Map To change the map contents to another web map, click the web map in the list. You will be prompted to Zoom In. Choose No to keep the current map extents or Yes to zoom to the extents of the new web map. Click the More Details link to open a browser window to the information page for the web map. Widget Setup Source code and installation instructions may be found at GitHub - softwhere/ChangeWebMap-Widget Download Thanks to the City of Garland, Texas for sponsoring the initial development of the ChangeWebMap Widget and releasing it to the community.
... View more
02-06-2016
09:48 AM
|
5
|
15
|
9309
|
DOC
|
The AddLayer Widget for ArcGIS Web AppBuilder allows users to add pre-defined map layers to the current map without having them to include them in the current web map. This provides an easy way to add ad-hoc layers to your web app. Unlike the AddService Widget which requires the user the enter the url of the service, the AddLayer widget only allows users to display additional map layers that have been pre-defined by the site administrator. Using the Widget The AddLayer Widget is an in-panel widget that will be displayed in the toolbar of your WebApp Builder application. Click the icon display the list of available layers. Click each layer you want to add to your map. These layers will be displayed on the map and may be toggled off or on using the standard LayerList widget. You can unclick the layers you do not want to show any more to remove them from the map. Each entry is the list is pre-defined when the configuring the widget. Widget Setup Source code and installation instructions may be found at GitHub - softwhere/AddLayer-Widget: v1.3.1 - released on 2/21/0216 Download Thanks to the City of Garland, Texas for sponsoring the initial development of the AddLayer Widget and releasing it to the community. Portions of the configuration settings dialog for the AddLayer Widget were adapted from the configuration dialog of the excellent LocalLayer Widget .
... View more
02-06-2016
09:39 AM
|
4
|
21
|
12015
|
POST
|
The themes provided with the Web AppBuilder for ArcGIS all use white icons which look great on a dark background. But not so good on a light background. This project provides darker icons appropriate for a lighter background. You can download the icons from https://github.com/softwhere/widget-icons/archive/master.zip
... View more
02-06-2016
09:22 AM
|
3
|
1
|
3737
|
Title | Kudos | Posted |
---|---|---|
1 | 08-16-2017 07:51 PM | |
3 | 02-06-2016 09:22 AM | |
5 | 02-06-2016 09:48 AM | |
12 | 02-06-2016 09:57 AM | |
4 | 02-06-2016 09:39 AM |
Online Status |
Offline
|
Date Last Visited |
06-17-2023
11:40 PM
|