Announcement

Collapse
No announcement yet.

User Portal - disable view dropdown

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • User Portal - disable view dropdown

    I have a custom module, that is displaying correctly when a normal user or administrator log in and go into accounts, they can see the panel with relevant records, and without any options or dropdowns.

    However when the same layout (list small) is shown on the user portal, against each record is a dropdown with just the 'view' option. I would like to hide/disable this dropdown. Would appreciate any pointers to which file(s) I need to amend.

    I have tried to add "viewDisabled": true in the <custom_entity>.json within custom/Espo/Custom/Resources/metadata/clientDefs, but this has not made any difference in the user portal. I'm guessing there is an equivalent file/folder for the user portal, but not sure about this.

    Any assistance much appreciated.

  • #2
    can you share a screenshot.

    This could be due to permission, if the portal use has view record permission the drop down will have only view.

    i am afriad "viewDisabled": true in the <custom_entity>.json is not how things work in espocrm. you can create a custom view for the record and check if current user is portal them provide certain rowActions view.
    Rabii
    Web Dev

    Comment

    Working...
    X