Can anyone help me how to use files as a source in...
# suitescript
s
Can anyone help me how to use files as a source in formObj.addField ('custpage_file' , 'text' , 'Select File','file source'); Thanks
d
Use field Type as "FILE"
s
i have tried it and even file i tried but no luck
i got empty options in select
d
what was the option u provided in source parameter
s
Use field Type as "FILE" || if i use file that is for choose file from local system
But i want files from file cabinet to select
👍 1
i tried file , document in sourcing
i did n't get any reference in help of select field
d
I am not sure if there is any other options., but u can create your own saved search on file cabinet and display it as values by creating "SELECT" field type and add your own select options
👍 1
s
Sure Thankyou