Skip to main content
Open

Attribute Validator get rules from table

Related products:Transformers
  • January 31, 2018
  • 6 replies
  • 43 views

jpvo
Contributor
Forum|alt.badge.img+2

Like the SchemaMapper which takes mapping rules from external file, the AttributeValidator could read validation rules from a table.

This would also allow validation rules maintenance by non FME people.

6 replies

navaneet
Forum|alt.badge.img+1
  • February 19, 2020

This will be nice.


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • February 21, 2020

To add to this, include an option to give a rule a name which is then reported in the fme_validation_message


antoine
Enthusiast
Forum|alt.badge.img+7
  • Enthusiast
  • June 3, 2021

Any news from Safe on this? It forces us to use other tools or attributeexploser with a tester to use external rules.


ltwigg
Contributor
Forum|alt.badge.img+3
  • Contributor
  • December 5, 2022

I've built a BulkAttributeValidatorWithMapping, takes external configuration file like SchemaMapper, allows logical testing like Tester (including NOT), can group tests together (eg "Attribute A is a number, or Attribute A is blank"; or... "Attribute A is ABC or Attribute B is DEF"), and custom error messages can be entered (each failed test is concatenated onto an error string). It works with un-exposed attributes (designed to work with an upstream SchemaMapper). May take a while to run as it checks each feature against each validation rule.

 

If anyone is still following this thread and is interested, I'd appreciate any feedback.


LizAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • February 12, 2024
The following idea has been merged into this idea:

All the votes have been transferred into this idea.

LizAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • February 12, 2024
The following idea has been merged into this idea:

All the votes have been transferred into this idea.