Smi.Pol
Smi.Pol

Reputation: 27

How can i hide default netsuite buttons (Edit, Remove) from list?

My custom page hosts a parent record and in it i have a item sub list in a Child record. The problem happens when user tries to edit the line items by clicking on standard edit/remove buttons available on line items in edit mode. I have tried unchecking "Allow child record edit" and "Show Remove" options in the child record settings. but for logical reasons in our program, we cannot uncheck these options.

How to hide these buttons using client side code or any other setup feature?

Upvotes: 1

Views: 3370

Answers (2)

Sanju S pillai
Sanju S pillai

Reputation: 1

  1. In the custom record, open the field to attach this record to the parent record
  2. Go to Validation and Defaulting tab and check Mandatory field.

Upvotes: 0

alegria
alegria

Reputation: 1482

Here's a suggestion:

  1. Edit the record:
    • In Child Records subtab, do not select a tab for the child records to hide it
  2. Create a saved search:
    • Check AVAILABLE AS SUBLIST VIEW.
    • In Results subtab, set OUTPUT TYPE as Result.
    • In Available Filters subtab, add the child record's field link to the parent record.
  3. Edit the record, add the search as sublist view.
  4. View the record and check the list, there should be no edit nor remove links.

Upvotes: 3

Related Questions