Link in list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    Link in list

    Hi,
    Is there a way to disable the links to company and assigned users in lists?
    Peter
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    #2
    In all columns, the LINK can be disabled. The account and the user are not.

    Comment

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #3
      Hello
      If link is checked, it means this column is a link to target entity (if you are on contact list view, account column will be link to contact as well)

      You can override the view of field, to change template
      OR
      Change in layout account to accountName, but you need to add a translation for this field

      Comment

      • peterberlin
        Active Community Member
        • Mar 2015
        • 1004

        #4
        I was hoping this button would work. But with account and allocated user he does not work. You can not disable the link.

        Comment

        • tanya
          Senior Member
          • Jun 2014
          • 4308

          #5
          Originally posted by tanya
          Hello
          If link is checked, it means this column is a link to target entity (if you are on contact list view, account column will be link to contact as well)
          if you enable link of account field on contact list view, account name will be a link to contact.

          Comment

          • peterberlin
            Active Community Member
            • Mar 2015
            • 1004

            #6
            The link to the account is always active. I can not disable it with the button. This does not work in any list.

            Comment

            • peterberlin
              Active Community Member
              • Mar 2015
              • 1004

              #7
              In this (large) list with demo data all columns have a link. Only the first column should have a link. How can I do this? the button "Link" in the layout manager of the entity / large list does not work.
              This question is a basic question. It refers to the lists of all entitys.
              Last edited by peterberlin; 05-26-2018, 11:38 AM.

              Comment

              • tanya
                Senior Member
                • Jun 2014
                • 4308

                #8
                Each of these links depends only on field type, only first is list view link

                - the first link - is the link on entity -- if you want to disable the link, uncheck the Link box on layout (Layout Manager)
                - link field link - is the link on related entity -- if you want to disable the link, use fieldName field instead field on the layout (manually). And don't forget about translation
                - email link allows you to compose email -- if you want to disable the link, use add parameter "view":"views/fields/varchar" on the layout (manually)
                - phone number link allows you to call this number -- if you want to disable the link, use add parameter "view":"views/fields/varchar" on the layout (manually)

                The example, how you can disable these fields (custom/Espo/Custom/Resources/layouts/Contact/list.json)

                Code:
                [
                    {
                        "name": "name",
                        "link": true
                    },
                    {
                        "name": "accountName",
                        "width": 25
                    },
                    {
                        "name": "emailAddress",
                        "width": 20,
                        "notSortable": true,
                        "view":"views/fields/varchar"
                    },
                    {
                        "name": "phoneNumber",
                        "width": 18,
                        "notSortable": true,
                        "view":"views/fields/varchar"
                    }
                ]

                Comment

                Working...