Refresh Record Header

Hello All,

I am calling the interface through summary view of record type and create a button in related action. I am having a button in interface as well and when this button is clicked on it should display the related action button. But in my case related action displays after refreshing the page. 

Any suggestions would be helpful.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    You can show the related action on showWhen condition of your Interface button value when it gets true.


    a!localVariables(
    local!buttonValue:false,
    {
    a!recordActionField(
    actions: a!recordActionItem(
    action: 'recordType!{b4aad3cb-0820-4f90-ba74-fcdcd4d18f6d}MMA Meeting.actions.{c225e355-5704-4288-bac4-4f4df0366f4a}createMeeting',
    identifier: 44
    ),
    showWhen: or(local!buttonValue)
    ),
    a!buttonArrayLayout(
    buttons: {
    a!buttonWidget(
    label: "Button",
    style: "NORMAL",
    value: true,
    saveInto: a!save(local!buttonValue,save!value)
    )
    },
    align: "START"
    )
    }
    )

Reply
  • 0
    Certified Lead Developer

    You can show the related action on showWhen condition of your Interface button value when it gets true.


    a!localVariables(
    local!buttonValue:false,
    {
    a!recordActionField(
    actions: a!recordActionItem(
    action: 'recordType!{b4aad3cb-0820-4f90-ba74-fcdcd4d18f6d}MMA Meeting.actions.{c225e355-5704-4288-bac4-4f4df0366f4a}createMeeting',
    identifier: 44
    ),
    showWhen: or(local!buttonValue)
    ),
    a!buttonArrayLayout(
    buttons: {
    a!buttonWidget(
    label: "Button",
    style: "NORMAL",
    value: true,
    saveInto: a!save(local!buttonValue,save!value)
    )
    },
    align: "START"
    )
    }
    )

Children
No Data