Page 1 of 1

Customizing validation errors popup

Posted: Fri May 25, 2018 12:50 pm
by Johann
Hello everyone,

I am using oxygen SDK 19.1.0.3 and I would like to "customize" the popup listing validation errors. I mean the popup that appears when you double click at the bottom of the documentComponent, on the red dot.

Is it possible to change the layout of this popup, to hide or filter infomration displayed ? Or directly overriding the popup and putting mine ?

Thanks for your help,

Johann

Re: Customizing validation errors popup

Posted: Fri May 25, 2018 1:47 pm
by Radu
Hi Johann,

Do you mean the validation status which presents the current validation error?
Like the one in this image:

https://www.oxygenxml.com/doc/versions/ ... senter.png

?

We do not have specific API for it.
If you can tell us more about your use case maybe we could consider adding some API in a future version.

Usually validation errors are computed on each modification and are stored as a list of "DocumentPositionInfo" objects.
That status displays the information from such an object.
We do have APIs to allow you to intercept the list of validation "DocumentPositionedInfo" objects and change it in some way:

https://www.oxygenxml.com/InstData/Edit ... emsFilter-

Regards,
Radu

Re: Customizing validation errors popup

Posted: Fri May 25, 2018 3:27 pm
by Johann
Hi Radu,

In fact, I mean particularly this popup: https://ibb.co/nnZd6T.

The "DocumentPositionInfo" object contains what we desire, we just want to change the layout of the popup, to display these "DocumentPositionInfo" objects the way we want.

Johann

Re: Customizing validation errors popup

Posted: Tue May 29, 2018 3:33 pm
by Radu
Hi Johann,

Unfortunately we do not have API for this. I will add an internal issue for this. We've never had a similar request before so the problem will probably not be very high priority for us. How much do you want this? Are there clients who refuse using the tool because of this?

Regards,
Radu

Re: Customizing validation errors popup

Posted: Thu Jun 14, 2018 2:48 pm
by Johann
Hi Radu,

I can't say that clients refuse using the tool because of this but you know that clients always want to customize every HMI :)

Thanks for your reply,

Regards,

Johann

Re: Customizing validation errors popup

Posted: Thu Jun 14, 2018 2:51 pm
by Radu
Hi Johann,

I understand, thanks for the feedback.

Regards,
Radu