is there a way for to change this if the user cli...
# suitescript
s
is there a way for to change this if the user clicks a checkbox
Copy code
sublist.displayType = serverWidget.SublistDisplayType.HIDDEN
b
hope that Sublist.isDisplay works for your sublist
hiding and unhiding ui elements usually involves starting them as displayed and immediently hiding them
instead of the reverse of starting them hidden and unhiding them
s
doesnt work for use case
I need if the user set something to true etc then a sublist would appear
b
start the sublist as visible, immediately hide it
s
how can the user make it apper
b
the parameter i linked
s
this a sutliet
b
correct, and suitelets offer the ability to use Form._*clientScriptModulePath*_
which allows the use of client script and N/currentRecord
s
i will look into that
how to i get the data from the sublist inside params
message has been deleted
Copy code
log.debug({ title: "data", details: params.fedxpackagedata });
message has been deleted
b