Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Custom Ribbon Action not available offline

(0) ShareShare
ReportReport
Posted on by

Hello, my custom ribbon action does not appear, when the "Dynamics 365 App for Phone" is offline. I have a display rule that checks whether the user is allowed to create a certain entity. In online mode the custom action works perfectly fine. It calls a custom JavaScript function. How to make the custom action appear in offline mode, too?

  • GmezErick28 Profile Picture
    10 on at
    RE: Custom Ribbon Action not available offline

    Hi!

    I think that you can set the "CrmOfflineAccessStateRule" for the Custom Ribbon.


    pastedimage1580336487159v1.png

    pastedimage1580336564365v2.png


    Here is a link that you can check. 

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/customize-dev/define-ribbon-enable-rules

    Hope this works for what you need.

  • LukasG Profile Picture
    5 on at
    RE: Custom Ribbon Action not available offline

    Hi, have you managed to fix this problem? I am facing the same issue and this is the only mention of this topic.

  • Community Member Profile Picture
    on at
    RE: Custom Ribbon Action not available offline

    No disrespect, but I think you did not understand the problem. There is no issue with my JavaScript Code. I don’t think there is a code analyzer in d365 that checks whether the code of a custom action is offline compatible or not, or is it? I am asking for general knowledge here. There must be a setting or maybe some display rule that makes the action available in offline mode, too. The documentation just didn’t tell me so far.

    But actually it simply could be a bug in d365. Therefore you are right that creating a service request is the right way to go.

  • Madalina Toma Profile Picture
    on at
    RE: Custom Ribbon Action not available offline

    Hello Martype,

    Could you please open a support request where you will mention this specific post and provide the code for the javascript associated with it as it will need more investigation?

    Thank you!

  • Community Member Profile Picture
    on at
    RE: Custom Ribbon Action not available offline

    My action works perfectly fine in both UIs. The only problem is, that it doesn’t show up when the mobile app is in offline mode. 

  • Madalina Toma Profile Picture
    on at
    RE: Custom Ribbon Action not available offline

    Hello Martype,

    The custom ribbon action can have multiple reasons to not properly execute, like in your Javascript you use code which is not compatible with App for Phone, could you please verify if the button has the proper functionality in Unified Interface in general?

    Could you please verify if the button is available in Unified Interface for a custom Modern Driven App which works offline as well and switch your browser from the debugger interface to online confirming if the button is available there?

    I will recommend opening a ticket for Microsoft support in order to verify the functionality.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 57

#3
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans