Version:
eXtendFiles 1.7.0 and
above
Audience:
Administrator
Introduction
Using eXtendFiles, NetSuite Administrators can
set static field values during the Public
Upload process by using URL parameters. These
static field values are applied to eXtendFiles
records created from public uploads.
For instructions on setting up
the public
upload feature, refer to Configuring the
Public Upload Feature
in eXtendFiles.
Step-by-Step Example
Let's walk through a simple example:
- Goal: Set the field eXtendFiles - File
Type (Custom) to "Final
Artwork" during public
upload
- Required Information:
- Field ID:
custrecord_extfile_type_custlist
- Final Artwork internal ID:
4
- Field ID:
Step 1: Create the Formula
CASE WHEN {BASE URL LINK} IS NOT NULL THEN CONCAT({BASE URL LINK}, CONCAT('&id=', CONCAT({id}, CONCAT('&rectype=', CONCAT({type}, CONCAT('&custrecord_extfile_type_custlist=', '4')))))) ELSE '' END
Step 2: Result
The generated link will look like this:
https://exampledomain.suitextend.net/v1/approval/order/9200f816-6a88-4ba9-848e-8a9faafc2d50?id=39776&rectype=salesord&custrecord_extfile_type_custlist=4
Advanced Configuration
You can chain multiple field values together in
one link. Here's how:
CASE WHEN {BASE URL LINK} IS NOT NULL THEN CONCAT({BASE URL LINK}, CONCAT('&id=', {id}, CONCAT('&rectype=', {type}, CONCAT('&custrecord_extfile_type_custlist=', '4', CONCAT('&custrecord_ext_dept_ref=', '3', CONCAT('&custrecord_extfile_rs=', '1')))))) ELSE '' END
This will generate:
https://exampledomain.suitextend.net/v1/approval/order/9200f816-6a88-4ba9-848e-8a9faafc2d50?id=39776&rectype=salesord&custrecord_extfile_type_custlist=4&custrecord_ext_dept_ref=3&custrecord_extfile_rs=1
Important Notes
Field Type | Format | Example |
---|---|---|
Select Fields | Use internal ID number | "4" instead of "Final
Artwork" |
Boolean Fields | Use T or true (case
sensitive) | &custrecord_extfile_generate_public_link=T |
Remember to replace
{BASE URL
LINK}
with your actual public
upload link in all examples.