Design Policy action paramaters

Im just getting started with CentraSite. Im trying to setup a design time policy that would be enforced at service registartion and I woul like to ensure that the name of the services does not contain spaces, special characters and also does not end in the word “service”

Dows anyone know what that pattern woudl like like?

Hi,
you need a regular expression. I wrote my own custom action in order to implement also a custom error message in order to point to the URL where our naming convetion is defined.
If you use the normal behaviour from CS you will get your RegEx as an error message :frowning:

Did you use a Java script or Groovy script to do that?