Is the method describe in the link below still working on View Mode?
Marty Zigman on "Learn how to Hide NetSuite Sublist Buttons and Other HTML Elements"
https://blog.prolecto.com/2018/09/22/learn-how-to-hide-netsuite-sublist-buttons-and-other-html-elements/
I am able to make it work in Edit Mode to hide a custom button that is displayed in a transaction (from a child custom record whose parent is a transaction), but unable to do so in View Mode.
d
DeveR
11/04/2021, 3:49 PM
I don't think that worsk anymore now
r
Roc127
11/04/2021, 3:51 PM
I am afraid that is the case. If so, is there any suggestion of a possible workaround with similar outcome?
d
DMS
11/04/2021, 3:59 PM
This still works. I used the method a couple of weeks back.
Check the html element IDs in view mode. When I implemented it, the ids were different in view mode compared to edit mode
r
Roc127
11/04/2021, 4:05 PM
@DMS You are correct, that was the issue, I did not notice the difference. Thank you very much!
👍 1
d
DeveR
11/04/2021, 4:20 PM
I used it too for sublist but the id varies from browser to browser so be mindful of that