Is the method describe in the link below still wor...
# suitescript
r
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
I don't think that worsk anymore now
r
I am afraid that is the case. If so, is there any suggestion of a possible workaround with similar outcome?
d
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
@DMS You are correct, that was the issue, I did not notice the difference. Thank you very much!
👍 1
d
I used it too for sublist but the id varies from browser to browser so be mindful of that
👍 1
r
Ok, thanks!