Put it in its own Field Group added first
# suitescript
e
Put it in its own Field Group added first
c
When I add it to a field group I get this error:
File upload fields cannot be added to tabs, subtabs, or sublists and are not allowed on existing pages
I tried placing it in it's very own container too.
The docs say this about FILE fields: "The FILE field type is available only for Suitelets and will appear on the main tab of the Suitelet page. FILE fields cannot be added to tabs, subtabs, sublists, or field groups and are not allowed on existing pages."
Seems wonky to me.
e
Then I suppose the answer is DOM manipulation, with the standard caveats therein
m
That seems like an issue with the way the
container
option on
Form.addField()
can take either a tab or a field group, but it's frustrating that it can't figure out that a field group isn't a tab. You could always try setting the layoutType to
OUTSIDEABOVE
if you want it as the first thing on the form.
c
Ended up pushing some other elements into a new tab to make the page behave. Not ideal but workable.
123 Views