Skip to content

svenweb/saveInstanceWidget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Save Instance Widget for Experience Builder

The Save Instance Widget lets you save and share the current state of your web map in Experience Builder — including extent, visible layers, basemap, graphics, and more. It's inspired by the classic Save Session Widget from Web AppBuilder, but built specifically for ArcGIS Experience Builder.

🛠 Installation

You can download the latest compiled version of the Save Instance Widget from JensenGIS.

⚙️ Setup

Once downloaded, follow Esri’s guide on how to add custom widgets to your Experience Builder installation.

  1. Place the widget inside your /widgets directory.
  2. In Experience Builder, go to the Insert Widget tab and scroll down to the Custom Widgets section.
  3. Drag the Save Instance Widget onto your toolbar.
  4. Configure the widget by selecting a map for it to interact with.

That’s it — you’re ready to go.

🚀 Usage

💾 Save an Instance

Enter a name for the instance and click the Save Instance button.
Name and save an Instance

🔄 Load an Instance

Click the Load Instance button to apply a previously saved map state.
Load instance to map

✏️ Rename an Instance

Click the Edit Instance Name button and enter a new name when prompted.
Edit instance name

📥 Download an Instance

Click Download Instance to export a .txt file containing that instance.
Download instance

You can also download all saved instances using the Download Instances button at the bottom right of the widget.

🧹 Clear Instance Graphics

Click Clear Instance Graphics to remove any graphics associated with the instance from the map.
Clear graphics

I'd love to get instance-loaded graphics working with the Esri Draw Widget at some point. It’ll take a bit of setup, but if it’s something people are asking for, I’m happy to start looking into it — just let me know!

🗑️ Delete an Instance

Click Delete Instance to permanently remove it from your saved list.
Delete instance

🔗 Sharing Instances

To share a saved instance, simply send the .txt file to another user. They can import it using the Upload Instances button in the bottom-left corner of the widget.

In the future, I’d love to add support for cloud storage of instances — let me know if that’s something you’d use!

🐛 Bugs & Feature Requests

Have a bug to report or a feature idea?
Please open an issue on this GitHub repo or leave a comment in the Esri Community.

I’m also happy to hear requests for:

  • Migrating existing Web AppBuilder widgets to Experience Builder
  • Building new custom widgets for open-source release or for private use.

Stay tuned — more tools are coming soon!

About

Save and share the extent, layer settings, basemap, graphics and more from your map instance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published