https://github.com/mj12358/fsl-work-map
A Field Service Lightning map displaying service appointments or work orders and much more.
https://github.com/mj12358/fsl-work-map
apex fsl salesforce visualforce
Last synced: 8 months ago
JSON representation
A Field Service Lightning map displaying service appointments or work orders and much more.
- Host: GitHub
- URL: https://github.com/mj12358/fsl-work-map
- Owner: MJ12358
- License: gpl-3.0
- Created: 2022-06-03T22:06:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T13:04:23.000Z (about 2 years ago)
- Last Synced: 2025-01-18T11:22:54.522Z (about 1 year ago)
- Topics: apex, fsl, salesforce, visualforce
- Language: JavaScript
- Homepage:
- Size: 4.49 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Field Service Lightning (FSL) Work Map
This map allows you to view [Service Appointments](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceappointment.htm) or [Work Orders](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workorder.htm) with [Locations](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_location.htm), [Service Resources](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceresource.htm) and [Service Territories](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceterritory.htm)!
You can filter by status, territory or work type and also search.
Add layers like drawing, heatmap, polygons and traffic.
Even choose your map style!
You can even use this without the need for a "Dispatcher License".
## Prerequisites
* Enable Field Service in your org
* [Install the FSL managed package](https://fsl.secure.force.com/install)
* Deploy using the button below
* Assign the "Work Map" permission set to anyone who needs access
* Create a new "Work Map" metadata record called "Default" and add your [Google Api Key](https://developers.google.com/maps/documentation/javascript/get-api-key)
* You _may_ have to adjust "Sharing Settings" to allow public read on "Work Type"
## Deploy
## Screenshots

## Filter by Status

## Filter by Territory

## Filter by Work Type

## Add Layers

## Style the map

## Tests
| Class | Percent | Lines |
| ----- | ------- | ----- |
| WorkMapController | 92% | 146/157 |