Take a scene offline with ArcGIS Pro

You can use to consolidate your into a single (.mspk) that can be taken offline. Each package can contain scenes, elevation sources, and any data necessary for your users to continue working when connectivity is poor or non-existent. Mobile scene packages can include , , , tiled layers (.tpkx,.vtpk), , relationship classes, , and . Each package adheres to a common definition, allowing you to transport your scenes and data across ArcGIS.

With ArcGIS Pro 2.6 (or later) you can include online and in your scenes, such as traffic information, weather conditions, or a large company data-set. If your user's device has network connectivity they can take advantage of these online layer. If the connection is unavailable, users can continue to work with the and data that is stored locally in the .

Create a mobile scene package with ArcGIS Pro

  1. Locate the ArcGIS Pro tool called Create Mobile Scene Package in the Data Management Toolbox. You can use this to create a containing any number of .
  2. If needed, set an expiration date on the mobile scene package. This is available with ArcGIS Pro 2.4 (or later) with the ArcGIS Publisher extension license.
  3. If you want include online and in the , you need to check on the Reference online content. This is available with ArcGIS Pro 2.6 (or later).
  4. Save the package to , , or to a folder on your device.
  5. You can download the from ArcGIS Online or ArcGIS Enterprise directly onto your device using this API. Alternatively, you can copy the package directly to your device (or it).

Open the mobile scene package

To create the object, pass the mobile scene package file path to the mobile scene package constructor. Load the package and access its collection of scenes. Passing the to the will initiate loading the scene, its , and data.

Handle mobile scene package expiration

, created with ArcGIS Pro 2.4 (or later), can have an expiration date set. This gives the author more control over the lifetime of the package's data. For example, it will allow you to do the following:

  • Provide data to third-party contractors that will expire at the end of a contract.
  • Indicate to your users that the data is now obsolete.

Use the ArcGIS Pro tool, create a mobile scene package to set an expiration date/time, an expiration message, and data access options. Setting expiration requires an Publisher extension license.

There are three possible outcomes when you try to load a :

  1. You have full access to the mobile scene package and their . This situation occurs if the package has been created without any expiration properties or if it has not expired.
  2. You have full access to the and their , even though the scenes and their data have expired. You will be warned that the package is out of date.
  3. You cannot access the mobile scene package and their scenes because it has expired. In this case, the package will fail to load and you will not be able to access its scenes and data.

These three outcomes are managed by the load process. No extra workflow or code paths are required to accommodate this.

If you want to provide your users with extra information, you can retrieve the expiration details from the expiration property on the . For example, you could display how many days remain before the package expires by doing the following:

  1. Load the .
  2. Read the expiration property on the mobile scene package.
  3. Confirm that it has not expired.
  4. Get the expiration date.
  5. Calculate the number of days between today and the expiration date. Report the number of days remaining.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close