Announcement

Collapse
No announcement yet.

Disable button create

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

  • Disable button create

    I want to delete button create new record in pic 1.
    Thank u so much
    Attached Files

  • #2
    In the clientDef file for this object add the following

    "createDisabled": true

    Comment


    • #3
      Originally posted by Kyle View Post
      In the clientDef file for this object add the following

      "createDisabled": true
      Thank you for solution. Can I ask more question ? I want to add option like (edit, delete, ...) same like in pic. How can I do ?
      Attached Files

      Comment


      • #4
        you need to set the row actions view to do this, requires JavaScript its a lot more involved than the create button.

        Set the list view to use a custom view in clientDefs file
        in the new list view set the row actions view
        in the row actions view edit the row actions available

        Comment


        • #5
          Couldn't you just disable the Role/Team permission for Create, and allow "Read" or "View" own only?

          Off-topic: interesting way to do your Timetable/Roster

          Comment


          • #6
            Originally posted by Kyle View Post
            you need to set the row actions view to do this, requires JavaScript its a lot more involved than the create button.

            Set the list view to use a custom view in clientDefs file
            in the new list view set the row actions view
            in the row actions view edit the row actions available
            Can you explain more clearly? Or can give me some for example ? Thank you so much

            Comment


            • #7
              Originally posted by espcrm View Post
              Couldn't you just disable the Role/Team permission for Create, and allow "Read" or "View" own only?

              Off-topic: interesting way to do your Timetable/Roster
              I want to apply to all for role. Can do it with code ?

              Thank u.

              Comment

            Working...
            X