New

Config Option to Hide Menu Items

For our app, we'd like to hide certain modules from the menu, but still be able to use them within mobile (for example, access them from the "Related" tab in Record View).

I see the hiddenModules and unsupportedModules properties, but both seem to fully disable the module within the app.

An additional property to hide from menu, but still allow other methods of routing, would be very nice.

Thanks!

Parents Comment
  • Hi Brendan,

    After discussing this with engineering.  I think what you are trying to accomplish is not officially supported since most of our customers expect to be able to see the modules that they have access to.  In theory, you can modify the server side code PHP to not send the metadata that shows the menu.

    What would be helpful is to better understand why you do not want to give access on the menu since it's a very common way for people get quick access to each module.

Children
  • Thanks Joe!

    That's correct, we just want to hide some modules from the menu, but not from related view. Our use case (for our initial stage) has the user access modules such as Notes and Meetings only from the Related view - treating them as sub-modules. We were able to make our own work around. 

    Maybe this is not a common enough configuration to require a change in the SDK, but if not, then I think the documentation in the code could be revised to be more clear:

    In config_template/app.json, Line 1080:              

    * @property {string[]} hiddenModules - List of modules that are hidden from the main menu.

    Since this property actually hides modules from the app entirely, not just from the menu, I thought that was confusing, and that it might be nice to have an option that would hide in menu only.

    Thanks again!