Is there a list/record field that can point to fol...
# suitescript
s
Is there a list/record field that can point to folders/directories in the file cabinet? Am thinking of a company parameter, currently using an integer for the file cabinet internal id (to change the directory of the files will be saved in script), was wondering if there is a better way to do it?
p
On your custom field, just pick "Document" as the type
s
On mine, the documents is a field for files, is there one for folder/directories/paths?
w
I have not found one. I usually go with the integer. I haven'te done it, but I guess you could have a UE-script add a custpage_field with all the folders and then let that field fill out the integer-field.
s
@Watz interesting idea! but i'm not sure it can work as I intended to use the script parameter field on the general preferences page. I guess integer is good enough haha thanks! (although kinda really wish there was something for it, not sure how it'd go through with basic business users trying to get ids)
w
Ah, no. For script parameters, you're out of luck. Unless you incorporate the use of a custom record(with only one record) for parameters instead.
s
@Watz i get u, probably that or a suitelet haha, that's too much overkill for intents and purposes rn, thanks a lot tho!!