You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

EDMCS Lookupset expression for custom validation

Summary:

I need to code a custom validation for a property which uses a lookupset. The main goal is to validate a property if its value is not present in the lookup set. I've tried something like :

if (lookupSets.REFERENTIEL.find(node.properties.Core.Name, false).equals("-1"))
{
return true
} else
{
return false
}

I'm note sure at all of the syntaxe to use to exploit the find() method.. I've tried with equals() method to check if the value is found but it doesn't work.

Could you help me or give a documentation for the usage of find() method ?

Thx


Content (please ensure you mask any confidential information):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!