How to disable quick create menu entry for a specific module in mobile view ?

hi,

i've have to disable create for account in mobile view only.

i'already set an ACL wich works great. but i see, it remains create button in subpanel and quick create menu.

how can i do to remove them in mobile view ?

Parents
  • For sure you need to build a custom app from sugar-mobile-sdk.

    You need to create customization for modules Search and that specific module and type "right-menu-list". So you can extend the js controller accordingly.

    We had done something similar.

    Let me know if you would like to get that job done asap.

    Cheers

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • unfortunately it's not the mobile app, but  sugar /mobile view



    sorry for not been clear

  • So you mean to render Sugar interface in mobile mode in the browser?

    Unfortunately it is not possible. Mobile code is not editable in a Sugar instance.

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • Glad to know you fixed it frachet! Good job!!

    I do know the method enforceModuleACLs and, indeed, I override it sometimes for approaches like yours, but I forgot to consider it in my previous comment.

    As far I know data returned from enforceModuleACLs is sent to metadata endpoint so client (mobile app) is able to set acl configs into templates. In other hand, SugarACLStrategy is loaded and evaluated on accessing a specific module, view, field.

    Cheers

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • Glad to know you fixed it frachet! Good job!!

    I do know the method enforceModuleACLs and, indeed, I override it sometimes for approaches like yours, but I forgot to consider it in my previous comment.

    As far I know data returned from enforceModuleACLs is sent to metadata endpoint so client (mobile app) is able to set acl configs into templates. In other hand, SugarACLStrategy is loaded and evaluated on accessing a specific module, view, field.

    Cheers

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data