Skip to main content
Known Participant
Sep 3, 2021 10:57 AM UTC
Question

Create a close button to close current browser window tab on a record page

Hi All,

is it possible to create a close button on a record page to close current browser window tab?

or is it possible to do something like " window.open('', '_self', '').close(); " at Appian UI page?

thanks,

Gaurav

    3 replies

    stefanhelzle0001
    Brainy
    Sep 3, 2021 11:09 AM UTC

    No and no. What is the use case?

    Known Participant
    Sep 3, 2021 12:34 PM UTC

    Hi [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05],

    We have created Dashboard  using Angular UI.  The task list contains 2 main columns :

    1. run task ( this could be an Angular task(head-less implementation) or an Appian task UI 

    2. view task details ( when user click , this will open a new tab )

    View Task Details Page -- An Appian page which show the current status of task and rest of the details. Additionally we have added features like add comments for that task on that page. It is not a task. It is a record which is available for all task to view the current status of task and user can enter additional details.

    User can close this page by clicking on cross at right corner of the browser , but they are asking if we can give a close button which will close the page.

    Thanks,

    Gaurav

    stefanhelzle0001
    Brainy
    Sep 3, 2021 12:36 PM UTC

    There is no Appian functionality to close tabs or windows.