| ReferencePathControllerValidateReferencePath Method |
Validates a reference path:
- the path must start with "/" or "\"
- the path must be valid
- the path fragments must consist of reference properties that exist in the system
Throws an exception if the path is not valid.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic DataObjectReferencePath ValidateReferencePath(
string path,
bool usedForExpression = false
)
Parameters
- path
- Type: SystemString
- usedForExpression (Optional)
- Type: SystemBoolean
Is the reference path intended to be used in a (filter) expression?
If so a more restrictive rule set apply.
If true we:
- don't allow that the reference path contains a display format
- only allow a few fixed fields as fragments and only as forward references
- don't support virtual reference properties as fragments.
Return Value
Type:
DataObjectReferencePath
See Also