Upgrade the Field Service Mobile project template
Dynamics 365 Field Service comes with a mobile project template that can determine how the Field Service Mobile app should look and function. For example, it has default views and forms for work orders, as well as logic that runs when a work order is saved. It also has customizations for various Field Service entities like bookings, customer assets, and so on. You can build on top of the mobile project template to edit the mobile app for your specific business needs. See the topic on common Field Service Mobile customizations for more information.
Periodically, Microsoft releases a new mobile project template when the Field Service Mobile app is updated.
Starting a new mobile project
If you have a new Field Service environment and want to set up the mobile app, follow these steps:
- Download the latest Field Service Mobile project template.
- Follow the instructions to import and derive it in the mobile configuration tool (Woodford).
Upgrading an existing mobile project
If you are using and customizing a Field Service Mobile project template when Microsoft releases a new template, you can use the new template while keeping your customizations.
This applies to customers using any version of Field Service Mobile. For example, you may have Field Service Mobile version 9 and want to upgrade to version 11+, which requires a new project template, or you may have Field Service Mobile 11.1 and want to upgrade to 11.3 and utulize a new mobiel project.
Here is an example:
- You imported a Field Service Mobile project template from Microsoft and published it
- You derived that project and made customizations for your organization
Now Microsoft has released a new mobile project template (Example: FSDyn_1.0.2735).
You have 2 options:
- Import the new project template from Microsoft, derive the template and create a child project, and manually recreate your customizations in the derived child.
- Use GitHub to understand the difference between the new project template and your customized project template and copy and paste the changes.
The following are steps for option 2:
- Determine which Microsoft project template you customized. View the version history to find and download if you do not have the template.
- Once you have the project determined, download your customized project on your desktop along with the original Microsoft project that you started customizing. Simply select and highlight your project and choose Export.
- Download Github Desktop.
- Open Github Desktop and initialize a repo in a folder of your choosing.
- Rename the .Woodford files of your customized project and Microsoft's template to .zip. Extract it and drag the Microsoft project files from the extraction into the folder where you initialized the Git repo.
- Commit this to the master branch in Github desktop.
- Create a new branch in Github Desktop and call it "customizations."
- Drag the extracted files from your customized project files into the same folder where you initialized the Git repo and placed the files before.
- Open Github desktop, select refresh, and ensure you are on the "customizations" branch. You should then see the diff of your project compared to the Microsoft project.
- Download and import the latest Field Service Mobile project and then go to the Mobile Configuration Tool (Woodford). Create a child project off of the Microsoft project by selecting Derive. Export the derived child project, rename the downloaded project extension from .Woodford to .zip, and extract it as above.
- For any files that are called out as being a diff from our original, you will need to copy those files or folders into the new derived child project.
In many cases, simply understanding which files are different is not enough; you may actually want to understand and copy over the specific XML lines within the file instead of the entire file. For example, say the Microsoft project had a booking form with no form rules, and your customized project changed fields on the booking form. You'll see your booking form file as a diff in GitHub. Then say Microsoft's new project adds a form rule to the booking form. If you copy over your entire booking file in your customized project rather than the specific XML lines of the field changes, you will not get Microsoft's new form rule.
- Zip the new derived child project and rename the project extension from .zip to .woodford.
- Go into the Mobile Configuration Tool (Woodford) and highlight the new derived child project that was exported a few steps ago. Select the Import button and upload your new child project that contains the diff customizations. When prompted to Overwrite the derived child project, choose Yes.
- Now publish your new child project and begin testing.
If you make changes to a mobile entity, it will show as Overridden.