PTGBastion

Enterprise units

Unit files

See and manage the unit's content from the website.

The Files tab

Open My units, then the Files tab. It shows the unit's content, which is separate from your personal My files.

The Files tab is for a PTG-hosted unit. A self-hosted unit's files live on your own server, so the tab says so instead; see A server for a unit.

What you see and can change matches what a device with your role would. A member doesn't see the unit share, for example, and can't change gold.

The bar at the top shows how much of the unit's storage is used.

The areas

Area What it holds
Gold baseline The unit's official set. Every device downloads it.
Unit share (leads + gold review) What team leads have offered to the unit.
Team … — published set What a team's lead has published for the team. Every device in the team downloads it.
Device folders Each device's own share, inside its team.
Reports Assistance reports uploaded by devices.

Inside gold, the unit share and a team's set, content is kept by kind: library, maps, apps and so on, the same as in My files.

What each role can do here

Gold admin Team lead Member
Gold baseline Add and delete View View
Unit share Add and delete Add; replace or delete their own team's items Not shown
A team's published set Add and delete, any team Add and delete, their own team View, their own team
Device folders View and delete View and delete, their own team View teammates' shares, only while the team lead has auto-share on
Reports View, add and delete Add only Add only

Nobody adds files to a device's folder from the website. Only the device itself writes there. Administrators can view it and clean it up.

Assistance reports can hold medical and location details, so only the gold admin can see them. Team leads and members can send one, but can't see any report afterwards, their own included.

Add content

  1. Under Add content, choose a Destination, such as Gold baseline › library. The list only offers places your role can write to.
  2. In the library, optionally type a subfolder. Folders there become categories in the app.
  3. Choose Choose files, or, in the library, Upload folder… to send a whole folder with its structure.

Each folder takes only what devices use there, and the page lists the types under the destination. Library, maps and apps take the same types as in My files. In addition:

  • annotations takes only drawing layers made in BASTION, named after the layer's id (<id>.geojson).
  • waypoints takes only waypoints made in BASTION, named after the waypoint's id.
  • config takes only the app's sealed settings bundles (.bpb).
  • Reports takes anything.

A map file from another tool, even a GeoJSON one, goes in maps, never in annotations. Files a folder doesn't take are skipped, and the page says why. Devices don't read folders inside maps, apps, annotations, waypoints or config, so those destinations have no subfolder.

Skip duplicate files works as it does in My files: a file already there at the same path and size isn't sent again.

Devices receive what you add to gold, or to their team's set, on their next sync.

Who the app says it came from

Content added from the website is marked as coming from the role that added it, not from the person. In the app it appears with the name PORTAL.

The Device column

Device folders have generated names, so the list has a Device column that shows whose each one is: the device's callsign and its role.

  • No check-in yet means the device hasn't synced since its credential was issued.
  • Removed device means the credential was revoked and its folder is left over.

Gold admins get a switch above the list, Callsign or Label, to show each device by its callsign or by the label typed when its credential was issued. Labels are only ever shown to gold admins.

Browse, download and delete

These work as they do in My files:

  • List and Folders views, sorting and the search box.
  • A Category column for books in any library folder (gold, a team's published set or a device's folder). It shows each book's categories with tidy names, the same way across the whole unit: Medical › First Aid whether the folders are spelled medical/first_aid or MEDICAL/First Aid. Folders keep their exact names; the Folders view shows them as stored. See My files for how names are tidied.
  • Download for one file, a per-folder Download in the Folders view, and Download all for the whole unit as one zip. A very large zip can't resume if it's interrupted, so download a big unit folder by folder.
  • Delete removes a file from the unit, where your role allows it.
  • Find duplicates groups identical files so you can keep one of each.

Deleting a file here does not remove copies devices already have. To pull content back off devices, the gold admin uses Recall in the app.

Check files

A unit can hold files its devices won't use: a KML in annotations, a PDF in maps, a map pack in a folder inside maps, or a stray .DS_Store. They usually come from before the website checked file types. Devices leave them on the server, or download and refuse them, so they take up the unit's storage and show as skipped in every device's Sync history.

Gold admins can choose Check files above the list. It lists each such file, says what's wrong, and suggests a fix:

  • Move to … the folder that takes it, in the same place: a KML from annotations to maps, a PDF from maps to the library (keeping its folders as categories), a map pack up out of a subfolder.
  • Rename to … a layer or waypoint made in BASTION whose file name isn't its id.
  • Delete when no folder takes it.

Every fix is ticked to start with. Untick any you don't want, then choose Apply. You're asked once before anything is deleted, and a deletion can't be undone. A move keeps who first added the file. If a file is already where one would move, that one is left as it is.

Reports, module data and the unit share aren't checked.

Maps for the unit

A gold admin can share a map pack built on the Maps page with the unit. On the Maps page, select the pack under Your maps and choose Share to gold. Shared packs are listed under Shared with your units, where you can also stop sharing one.

Devices in the unit download the pack like any other gold content. If you stop sharing it, devices that already have it keep their copy.

Modules for the unit

A gold admin can add a BASTION module to the unit's gold from the Download page: open a module's More details and choose Add to gold for the unit. In the Files tab it's listed under gold's apps with a Module label; Remove there takes it out of gold.

Devices are offered its installer under Synced Apps, and it follows the latest version. A module from the Download page doesn't count against the unit's storage. See Modules.

Next: Syncing and settings.