bildwelt
E2E FORUM
E2E Bridge E2E Commerce

How to check if mandatory fields are set

E2E Forum Modeling & Development How to check if mandatory fields are set

This topic contains 1 reply, has 2 voices, and was last updated by  Marcel R. 4 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #468

    Christof
    Blocked

    Is there any convenient way to verify whether mandatory fields of a data structure are populated?

    What I can currently think of is:
    – an Action Script that checks the attributes one by one with attribute.exists();
    – manually defining an xsd and validating the classToXml output against it

    However I wouldn’t classify any of these option as convenient 😉

    #470

    Marcel R.
    Blocked

    Basically that’s it. However, you can also define the exists-constraints directly on attributes: http://docu.e2ebridge.com/Constraints

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.