Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Hide Empty fields into a script (Dynamics 365 actions)

    Posted 05-17-2019 04:45
    No replies, thread closed.
    Hello,


    I would like to know if we can condition the display of a field on the script, if the field is empty in Dynamics 365, it won't be necessary to display it.

    yours,
    #ArchitectureandDesign
    #Implementation

    ------------------------------
    Charaf Eddine Chemlal
    Dimension Data France
    ------------------------------


  • 2.  RE: Hide Empty fields into a script (Dynamics 365 actions)

    Posted 05-20-2019 09:24
      |   view attached
    No replies, thread closed.
    Hi Charaf,

    This is supported! First, create a custom boolean variable and bind it to the "visible" property of the text or text entry field (attached image). The default value should be 'true'. Then, use a custom action to execute the data action, and then use a conditional to set the bound visibility variable to false if the field is null or empty string. The custom action can be assigned as the script's page load (initial) action.

    https://help.mypurecloud.com/articles/define-custom-script-action/

    ------------------------------
    R. J. Smith
    Genesys - Employees
    ------------------------------