Alpha Video Training
Results 1 to 6 of 6

Thread: Refresh list element on different tabbedUI pane

  1. #1
    Member
    Real Name
    David Hagen-Sørensen
    Join Date
    Jul 2013
    Location
    Denmark - Odense
    Posts
    66

    Default Refresh list element on different tabbedUI pane

    Hi all,

    I have a situation where I want to refresh a list element on a tabbedUI. I know there is a function to refresh the complete TabbedUI, but that takes to long time.
    So do anyone know how to refresh a list element on a different tabbedUI then the one currently active?
    Here is the workflow.
    1. I select an record from the list on the tabbedUI, the click a button edit.
    2. A new tabbedUI opens, where I can edit the record selected from the list on the first tabbedUI.
    3. After editing, click save. Then the currently open tabbedUI should close (this works) and the first tabbedUI should have it's list updated. (I don't know how to do this.)

    Kind regards David.

  2. #2
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,810

    Default Re: Refresh list element on different tabbedUI pane

    David,

    What component are you using to edit the record obtained from the List control?

    Is the List control you're using, the UX Data List Control?

  3. #3
    Member
    Real Name
    David Hagen-Sørensen
    Join Date
    Jul 2013
    Location
    Denmark - Odense
    Posts
    66

    Default Re: Refresh list element on different tabbedUI pane

    Hi David,

    Thank you for your response.
    The list control on the first tabbedUI is in a ux component. And is a UX list control.
    The second tabbedUI also holds a normal ux component with fields where the user can edit the data based on the primary key, that was handed as an arguments from the first tabbedUI list.
    So when the user saves the changes i the second tabbedUI I would like to refresh the list control in the first tabbedUI.
    I know there is a built in function for this in javascript, but don't know how to get it to refresh a list on a different tabbedUI.
    {dialog.object}.refreshListData(UXListName);
    Kind regards David.

  4. #4
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,810

    Default Re: Refresh list element on different tabbedUI pane

    Hey David,

    I'm not sure what version of Alpha you're using... but the latest pre-release has just what you need. We need to do a tiny tweak, but it's all there.

    There is a new action called "Open a UX Component to Edit Current Record in List Control in a UX or add a new Record to a List Control in a UX"

    Here's a video on how to use it with a Tabbed UI. Hope that helps. If you don't want to, or can't, use the pre-release, let me know and I'll have another look.

    http://youtu.be/9Gsjumd33aI

  5. #5
    Member
    Real Name
    David Hagen-Sørensen
    Join Date
    Jul 2013
    Location
    Denmark - Odense
    Posts
    66

    Default Re: Refresh list element on different tabbedUI pane

    Hi David,

    Thanks again, yes I know about this new feature. I'll look in too this again.
    Maybe it will solve my problem, I'll let you know when I have tested it.

    Kind regards David

  6. #6
    Member
    Real Name
    David Hagen-Sørensen
    Join Date
    Jul 2013
    Location
    Denmark - Odense
    Posts
    66

    Default Re: Refresh list element on different tabbedUI pane

    Hi David,

    I have changed to use the new function "Open a UX Component to Edit Current Record in List Control in a UX or add a new Record to a List Control in a UX"
    I can use it to add new records and now it refreshes my list when the tabbedUI closes, so that works fine.

    Thank you very much for your help, and have a nice weekend.

    Kind regards David.

Similar Threads

  1. Print a TabbedUI Pane
    By Sparticuz in forum Application Server Version 11 - Web/Browser Applications
    Replies: 11
    Last Post: 02-09-2015, 01:13 PM
  2. TabbedUI - Default Pane
    By leetv in forum Application Server Version 10 - Web/Browser Applications
    Replies: 8
    Last Post: 04-16-2011, 05:52 PM
  3. Refreshing the Collapsible Navigation Pane in a TabbedUI
    By bterhart in forum Application Server Version 10 - Web/Browser Applications
    Replies: 9
    Last Post: 03-21-2011, 08:52 AM
  4. variables in url not set for tabbedUI pane?
    By Pat Bremkamp in forum Application Server Version 10 - Web/Browser Applications
    Replies: 3
    Last Post: 02-03-2011, 11:33 PM
  5. TabbedUI pane closes immediately
    By mansb in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 08-20-2010, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •