Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Subform references

  • Subform references

    Posted by Obonye on October 11, 2024 at 10:14 pm

    The document says this:

    You can obtain a reference to any subform instance within a subform set using the $sfsmember root notation. For example:

    $root.$sfsmember(cSetname,iUniqueID)

    returns an item reference to the remote form instance for the subform set member with the specified unique ID in the named subform set in the current remote task. This notation can be used in server and client methods.

    I have tried to get the reference to sfpanelsset using this command “$sfsmember” but unsuccessful. Has anyone gotten this command working properly with panelsset that won’t mind giving me leads?

    Martin.

    Sylvester Pouros Pouros replied 9 months, 2 weeks ago 3 Members · 2 Replies
  • 2 Replies
  • Götz Krija

    Member
    October 14, 2024 at 11:36 am

    Works fine for me. For example, in the JS Subform Set Panels sample in the HUB, the following code returns a reference to the remote form instance with ID=3:

    Do $root.$sfsmember(‘SubformPanelsSet’,3) Returns itemRef

    Götz

Log in to reply.