Skip to Content

Refresh embedded component

Hi,

Is it possible to refresh EC from absl or standard TI when user change the pane ?

I mean when user change for example Items for Tickets tab. On EC i have only few fields, not OWL list..I founde operation "RestartClient" in event hanlders and it works when i assign to the custom button.. but ii should be done automatic.

Maybe in absl is there some standerd function which achvie this task, but i don't know about it.

Could you please give me your advice? Thanks a lot for your help!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Apr 04 at 12:21 PM

    Hello Jakub,

    You can implement this very easily by triggering an EventHandler that Executes the DefaultSet and has the SyncDataContainer operation.

    To trigger the EventHandler you can implement an Inport which has the Properties configured as in the below screenshot.

    You also will have to configure an Outport which has the same local event name configured as the Inport, the Outport should have the Broadcast property enabled.

    This way the EC will be able to Self Trigger the Refresh and every time you open the tab it should refresh the data.

    I hope this help,

    Piotr.


    howtorefresh.png (147.8 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Apr 05 at 06:56 AM

    Hi Jakub,

    You might have to configure a Refresh on your DataList in your Event Handler, Type (List) > Operation (Refresh) and choose your Target List where your data is stored.

    Piotr.

    Add comment
    10|10000 characters needed characters exceeded

    • I can't configure target list beacuse i don't have list on screen.

      When i have OWL screen:

      -In dataModel i have DataList, so i can set DefaultSet and refresh Screen by steps which you said

      but when i have screen without list for example TI (in my case this is the EC):
      -In dataModel i haven't datalist, so i cann't set defaultset and i can't configure target list in list operation.

  • Apr 05 at 08:32 AM

    Hi Jakub,

    Can you please clarify how your fields on the EC are bound ?

    You can create a DataList with the Required Fields yourself manually on the required Node in the DataModel and then bind them to the Fields on the BO.

    Piotr.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 23 at 08:26 AM

    Hi Piotr,


    On EC i added manually Advanced List Pane

    and binded to alternative keys in BO.

    I created too the OutPort and InPort with settings like you showed ( but default Setbinding is set) and event handlers with required operations.

    But the EC doesn't refresh when user changed the pane. The custom BO have only root node.

    Piotr Kurzynoga can you help me ?


    2.png (7.7 kB)
    3.png (4.7 kB)
    1.png (8.0 kB)
    4.png (15.7 kB)
    5.png (4.7 kB)
    Add comment
    10|10000 characters needed characters exceeded