Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Custom button not showing in Field Service Mobile App

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I have created a custom button on a sub-grid to change a boolean value for work-order incident records selected in the grid. The button works fine in the Field Service Mobile web client, but does not appear in the phone app. I have tried to include an enable rule in Ribbon Workbench, but has not solved the problem. Script as below.

Any suggestions on how to fix this issue?

function showTheButton(){
   var showOrHideFlag;

   if (Xrm.Page.context.client.getClient() == "Mobile" && (Xrm.Page.context.client.getFormFactor() == 2 || Xrm.Page.context.client.getFormFactor() == 3)) {

      showOrHideFlag = true;
      }
   return showOrHideFlag;
  }

  • Suggested answer
    Stine S Profile Picture
    Stine S 10 on at
    RE: Custom button not showing in Field Service Mobile App

    It works for me now.

    For anyone else wondering what to do in this case, an enable rule like the one

    below is added to thepastedimage1665145959791v1.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x418.png Ribbon Workbench command.

    Thanks to Sam: community.dynamics.com/.../how-to-show-custom-ribbon-button-while-working-offline-on-mobile-device

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans