Removing Default NAV2017 buttons from a Sub-page

We are currently upgrading a NAV2015 customer to 2017.
As part of the implementation we have a Card Page with a Section containing a Sub-Page which has Page Actions of its own. Some of these are NAV default like “Find” and others that we have added.
oeohnzbxfmtl.png


Having upgraded the database to 2017 we have found that the Page Actions have changed. The upgrade has introduced an “edit” button of its own along with a “View” and “New” button:
kxk8cq7p6w75.png


We would like to remove these three options, especially the “New” button which is dangerous as the client should only create new records for this sub-page via a button on the main Card Page itself via code we have written.
Looking at the Page Action design they do not appear in this list and therefore cannot be deleted from it. We attempted to remove the Page Actions altogether and re-add them however the unwanted buttons remain. We have attempted to change some of the properties on the sub-page and the sub-page area on the Card Page to give us more control, e.g. Editable = No, however these did not make a difference either.
I have searched here and on other forums but didn’t find a solution.
Is there a way to turn these new buttons introduced in 2017 off?
Many thanks in advance
Edward Bloomfield

Lead Consultant
Theta

Comments

  • nick_robbonick_robbo Member Posts: 49
    Have you tried removing the Page Metadata? I have had a lot of issues where Actions are not promoted, even though they are promoted...or not visible at all. Deleting the Page Metadata/User Metadata for the page and restarting all service tiers worked in our case.
  • Edward_BloomfieldEdward_Bloomfield Member Posts: 155
    Thanks for the suggestion Nick. I removed the Metadata in the Object Metadata and User Metadata tables for the Card Page and Sub-page (The Profile Metadata and NAV App Object Metadata tables did not contain references to these pages) and restarted the middle tier service, however the unwanted buttons are still in place.

    Please let me know if there are any further suggestions.

    Thank you
    Edward Bloomfield

    Lead Consultant
    Theta
  • nick_robbonick_robbo Member Posts: 49
    Have you tried the "Restore Defaults" option? In Customize This Page?
    I would also open the page in the designer preview, see if they are still visible there?
  • Edward_BloomfieldEdward_Bloomfield Member Posts: 155
    I tried restoring the defaults but I am afraid that the default buttons that have been introduced by NAV2017 are still there and in the designer preview.
    Edward Bloomfield

    Lead Consultant
    Theta
  • foo_barfoo_bar Member Posts: 91
    edited 2017-08-07
    in the properties of the subpage, try setting the insertAllowed property to false?
    y8dp1kc6noq7.png
Sign In or Register to comment.