Skip to Content

Can I dynamically hide a button in Hybrid Container?

I created a button on the screen in Hybrid Container. However, I'm wondering if there is an option to dynamically hide a button?

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jun 06, 2012 at 12:31 PM

    function customAfterShowScreen(var screenKey)

    {

    if(screenKey==="YOUR_SCREEN_KEY")

    {

    //visible

    document.getElementByID("buttonid").style.visibility='visible';

    //to hide

    document.getElementByID("buttonid").style.visibility='hidden';



    }


    }

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2012 at 07:49 AM

    Hi Ekasiri

    I would like to know in which version of SUP, you wants this

    Thanks

    Dinesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Jitendra Kansal

      hi eksari/Jitendra,

      Yes you can hide any component in work flow screen dynamically.Once you genreated the mobile work flow package, you will be able to see one file called custom.js. All kind of customization should do in this class. In this class we've different events are available. you can write your code in any of this Functional block.

      Thanks

      Dinesh.

  • author's profile photo Former Member
    Former Member
    Posted on May 29, 2012 at 11:13 AM

    hi eksari/Jitendra,

    Yes you can hide any component in work flow screen dynamically.Once you genreated the mobile work flow package, you will be able to see one file called custom.js. All kind of customization should do in this class. In this class we've different events are available. you can write your code in any of this Functional block.

    Thanks

    Dinesh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.