Skip to main content
Answer

Customization compilation validation fails, CS0103

  • September 12, 2023
  • 2 replies
  • 96 views

Forum|alt.badge.img

Hi all, I’m trying to accomplish this here from a previous post of mine:

Basically, I want the Shipping Tab > FOB Point dropdown menu to default to the value “Clarkdale”. We only have two FOB Points defined in our preferences -- Origin and Clarkdale.


So I added [PXDefault(CLARKDALE)] to a customization project, appending to the original menu settings:
 

 

Saved and then attempted to publish. I received this Validation failed error:


Help! I’ve only done a few customizations before and have never edit menus so I’m doing something very wrong, lol! Thank you!

Best answer by Keith Richardson

I would put it in quotes, 

[PXDefault(“CLARKDALE”)] 

2 replies

Keith Richardson
Semi-Pro I
Forum|alt.badge.img+2

I would put it in quotes, 

[PXDefault(“CLARKDALE”)] 


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • September 12, 2023

I would put it in quotes, 

[PXDefault(“CLARKDALE”)] 

Holy smokes am I stupid… that did the trick. THANK YOU KEITH!!!