To clarify a client script opens it up in a pop up...
# suitescript
a
To clarify a client script opens it up in a pop up.
c
const WIDTH  = (screen.width / 2);
const HEIGHT = (screen.height / 2); const LEFT = ((screen.width / 2) - (WIDTH / 2)); const TOP = ((screen.height / 2) - (HEIGHT / 2)); window.open(suiteletUrl, 'Window Title Here', 'toolbar=no, location=no, directories=no, status=no, menubar=no, copyhistory=no, width=' + WIDTH +', height=' + HEIGHT + ', top=' + TOP + ', left=' + LEFT);
This will open a window centered with the URL still showing but no netsuite navigation
Code is messing up but you get it
a
The black bar is still therem
c
message has been deleted
a
To clarify I means the netsuite navbar.
c
im using chrome and it just has the header and the url
a
b
set the ifrmcntnr query parameter to T
c
yeah my solution is not for this go w/ battk
Its from SA: 68858
a
@battk that solution worked. Can I also remove the edit button?
b
probably not with the solution you are attempting
edit button is available to users able to edit searches
if you really wanted to, you could probably do dom manipulations to remove the edit button
then again, if you really wanted to, you could have removed the navigation bar too
a
How do you feel about Dom manipulation? Netsuite specifically says they don't support it.
b
depends on how serious you are about having the functionality work
a
85%
c
i've def had to use dom manipulation before but its a last resort
b
a serious attempt would be a willingness to fix your code every time netsuite releases a hotfix
the scheduled ones are basically on a 2 week schedule
a
I'll probably just ignore that button. I originally tried dom manipulation. I wanted to add a tool tip to the sublist. But every time a line was committed the entire structure of the row changed so I decided I don't want to deal with it.
So I moved it onto a saved search in a pop-up window.
c
you could also display the results in a custom suitelet
that for sure won't have the navigation