Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Check if element/object is valid

Avatar

Level 4

Hi folks,

Can I programatically say if an object is valid or not?

Today, i'm returning true(1) or false(0) in the Validate event of the object but I want to do it using API/Programatically, for example, I have a TableRow1 and I want to do something like that:

TableRow1.IsValid = true;

Possible?

Thanks,

Yair

1 Reply

Avatar

Former Community Member

If TableRow1 does not exist then an error will be generated indicating that there is no such object. I do not think you can do what you are thinking. Maybe if you describe your problem we can suggest a different approach.

paul