• Pavan Kumar
    June 22, 2020 at 4:37 am #5775

    Hi Team,

    I would like not to load few tabs based few conditions hence am using deffered section in each tab. but the code written to get control ids of controls in deffered section is derived as undefined (since those are not laoded).

    Main CV ->Tabsection->Tabs(each tab has deffered section).

    console.log(this.ui.get(“Text1”));– this is undefined

    How to access controls which are in deffered section. Please let me know the approach.

     

    I have added the below workaround from the deffered section article but still facing same issue.

    If you have a Deferred Section inside a coach view there are potential addressing issues.  To avoid these issues you should add a load Event Handler containing the following code:

    •  bpmext.ui.loadView(this)

    – add an unload Event Handler containing

    •  bpmext.ui.unloadView(this)

    – This will workaround the addressing issue.

     

     

     

    Pavan Kumar
    June 22, 2020 at 10:48 pm #5776

    Can anyone help me on this please

    SPARK Support
    June 25, 2020 at 7:50 am #5779

    Hi Pavan,

    Are you trying to reference a control inside the Deferred Section before it is lazy loaded?

    Regards,

    Stephen P.

    Pavan Kumar
    August 4, 2020 at 11:22 pm #5795

    HI Stephen,
    Yes am trying to access before it is loaded.

    SPARK Support
    August 15, 2020 at 3:38 pm #5800

    Hi Pavan,

    That is the issue.  You cannot reference a control that is not loaded.  If your use case requires the control to be referenced before it is displayed, then you should set them to a visibility of None instead of using a Deferred Section.

    Regards,

    Stephen P.

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

You must be logged in to reply to this topic.

Start typing and press Enter to search