web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Question regarding the Field service mobile app

(0) ShareShare
ReportReport
Posted on by 10

Hi everybody

I have a question regarding mandatory fields.

Is it possible to make a field mandatory (required) in the mobile app, but not in the ordinary backoffice UI.

I would like to have a field required on an asset, but first when the workorder is dispatched to a technician.

Hope you can help

I have the same question (0)
  • Suggested answer
    kunihih Profile Picture
    Microsoft Employee on at

    You can try implementing a form script that will detect the platform the client is using with navigator.useragent and then dynamically setting the required level of the field with setRequiredLevel.

    www.w3schools.com/.../prop_nav_useragent.asp

    docs.microsoft.com/.../setrequiredlevel

  • Dat Tieu Profile Picture
    Microsoft Employee on at

    You can use getGlobalContext.client (Client API reference) in model-driven apps - Power Apps | Microsoft Docs to check the client type (Web/Mobile..)

    Or you can specifically check for the App Module name getCurrentAppProperties (Client API reference) in model-driven apps - Power Apps | Microsoft Docs (the FSM unique name would be msdyn_FSMobile)

    For the check if Work Order is dispatched to a technician, it would depend on what it means for a Work Order to be dispatched to a technician. With the OBB FS scenarios, you can validate that by checking if there are any Bookable Resource Bookings (related to this Work Order) assigned to the current Resource user. (use retrieveMultipleRecords (Client API reference) in model-driven apps - Power Apps | Microsoft Docs). However, please be aware some data might not be available depending on if the mobile app is in offline/online mode. 

  • Verified answer
    Ali Khan Profile Picture
    1,380 on at

    Yes there are a number of ways to do that. I would actually prefer creating a new form and adding that in D365 FS Mobile app. This way you can add further mandatory fields in that form.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
FSRon Profile Picture

FSRon 74

#2
James White Profile Picture

James White 25

#3
AT-28040446-0 Profile Picture

AT-28040446-0 20

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans