Get related items on form

Former Member
Former Member
Hello, from a JS method i would like to get the related items from the related panel and not from the data base, as i want to check the related items BEFORE the user save and unlock the item. Thanks ! Léo
  • Hi Leo, maybe you take a look to the Method "Increment Sequence Number", e.g. used in various Relationships to set the sort_order property:
    thisRel.setProperty("sort_order", maxVal + 1); -> value stored in DB
    grid.items_Experimental.set(relationshipID, "value", "sort_order_D", maxVal + 1); -> value showed to user add runtime
    The Method also shows, how do handle the Items. Best regards. Angela