How to make Lead's phone field and other entity to have opted out and invalid option?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rgcadavos
    Junior Member
    • Jan 2017
    • 28

    How to make Lead's phone field and other entity to have opted out and invalid option?

    Hi All,

    Anyone has idea on how to make Lead's phone field and other entity to have the opted out and invalid option just like the Contact entity?

    Thanks
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello

    Is not what you need the field Do Not Call?

    Comment

    • rgcadavos
      Junior Member
      • Jan 2017
      • 28

      #3
      Hi tanya,

      This is what i want in the lead phone field, pls see attached file.

      The Opted Out and Invalid buttons.

      Thanks
      Attached Files

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Upgrade safe way is important? Only for lead?

        Comment

        • rgcadavos
          Junior Member
          • Jan 2017
          • 28

          #5
          Yes tanya, i want it to be upgrade safe. I want it on all entity that has phone field. Thanks

          Comment

          • rgcadavos
            Junior Member
            • Jan 2017
            • 28

            #6
            Hi tanya ,

            I already solved this, i just missed defining in the resources entitydefs thats why my custom code didnt work.

            Code:
            "fields":{
                    "phoneNumber":{
                        "view":"custom:views/fields/phone"
                    }
                }
            added these lines and it worked.

            Thanks

            Comment

            Working...