Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Action menu item not visible on Form extension

Posted on by 6,414
Hi,
I have a strange problem.
I have created an action menu item and placed it to SalesTable form extension.
It was perfectly visible and working.
Today I have not changed anything at all. Only thing that was done related to it is that I have placed the same action menu item in Sales and Marketing menu too.
Now I do not see the menu item on salesTable anymore. In Sales and marketing it is shown.
I have removed and put it again. Then I have deleted the Form extension and created again.
Nothing helps.
I don't understand what the problem is.
Any suggestions?
Thanks.
  • Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    Action menu item not visible on Form extension
    Hi Vuivui,


    Yes please if you are having build errors then please fix them. Then if the issue is still there, then we can investigate further.

    Thanks,
    Layan Jweihan
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Action menu item not visible on Form extension
    Hi,
    What about clearing the cache? Or check the relevant security roles to make sure the user or role accessing the SalesTable form has the necessary permissions to view and access the action menu items. For reference, you can also view the link below: https://d365ffo.com/2021/07/23/ax-d365fo-make-buttons-visible-in-a-form-actionpane/
    Best Regards,
    Hana
  • Johnny Profile Picture
    Johnny 6,414 on at
    Action menu item not visible on Form extension
    Hi all,
    I do not have any code related to this menu item. I just drag and drop it from my project.
    I don't see it on SalesTable form (when I open particular sales order), not list page.
     
    I did the build of my model with references and got error on the label file I'm using. Error says that I do not have permission to access it on local folder. Surely I run VS as Admin.
    Can that be a problem?
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 6,332 Super User 2024 Season 2 on at
    Action menu item not visible on Form extension
     
    Are you sure you are in the correct form? as when you open the sales order menu item, there is a feature that redirect you to Sales Table Form, so maybe it is off, and the form that you are on is  SalesTableListPage  not Sales table Form.
     
     
     
    Regards,
    Waed Ayyad
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,605 Super User 2024 Season 1 on at
    Action menu item not visible on Form extension
    First thing, " I have placed the same action menu item in Sales and Marketing menu too." Did you just cut paste it? If in this case, it will be fully removed.
     
    Secondly, "I have removed and put it again. Then I have deleted the Form extension and created again." Here if you put it again and deleted the form extension and created, did you re add the menu item after deleting and readding the form?
     
    Also can you please share your related code or the menuitem properties at form level and menu item level? And also, did you assign any privilege to that menuitem?
  • Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    Action menu item not visible on Form extension
    Hi Johnny,
     
    Are you testing with a sysAdmin role? In case it was a security issue.
     
    Do you have any code on form related to this menu item visibility?

    What happens if you remove the salesTable datasource property?
     
    Also you mentioned that it disappeared after u added it to the menu. So does that mean it will appear again if you remove it from the menu? Even though it doesn't make sense.
     
    Thanks,
    Layan Jweihan
  • Johnny Profile Picture
    Johnny 6,414 on at
    Action menu item not visible on Form extension
    Hi Layan,
    To the action menu item itself I have just added labelID.
    Object Type: Class
    Object: My controller class.
     
    On the SalesTable extension form I put it under SalesOrder >> Function
    I have not change any property. Just assign the SalesTable as datasource there.
     
    There is no second form extended. I just added it in Sales and marketing Menu. Have not changed anything there.
  • Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    Action menu item not visible on Form extension
    Hi Johnny,
     
    Can you please take a screenshot of the action menu item properties?
    And a screenshot of the it's properties on the two forms please.
     
    Thanks,
    Layan Jweihan

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans