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
PNJ
01/26/2021, 8:37 AM
On your custom field, just pick "Document" as the type
s
Sciuridae54696d
01/26/2021, 9:29 AM
On mine, the documents is a field for files, is there one for folder/directories/paths?
w
Watz
01/26/2021, 11:35 AM
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
Sciuridae54696d
01/26/2021, 3:01 PM
@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
Watz
01/26/2021, 3:06 PM
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
Sciuridae54696d
01/26/2021, 3:09 PM
@Watz i get u, probably that or a suitelet haha, that's too much overkill for intents and purposes rn, thanks a lot tho!!