Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Script is generating a leading space, what is wrong?
I am combining the contents of two fields to create a URL Component. The problem is that the script seems to yield a leading space in the result. I don't really understand what I have done wrong and I don't understand the logic of the syntax. I have tried the tutorials but they don't seem to help.
This is my script
LOWER(REPLACE(REPLACE({parent}|| '/' || {name},' : ','/'),' ','-'))
For example:
"parent" might contain "Lighting Components" "name" might contain "Commercial Bulkheads"
Expected result "lighting-components/commercial-bulkheads"
Actual result " lighting-components/commercial-bulkheads"