AnsweredAssumed Answered

How to set a button in viewdefs so it works in a web and mobile client?

Question asked by Arturo Escobedo on Jan 15, 2020

I'm trying to set a button in viewdefs than works in both clients, I put it in the action dropdown, that button is not appear in mobile version, somebody knows if its possible set the button in both clients from a single package?

 

My actual code looks like this...

 

$button= [
    'type' => 'button',
    'name' => 'download_pdf',
    'label' => 'LBL_PDF_BUTTON',
    'acl_action' => 'view'
];

Outcomes