Announcement

Collapse
No announcement yet.

remove edit

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

  • remove edit

    Can someone help me with this?

  • #2
    Hello

    if you want to disable inline edit for one field, you need to create a view for Close Date field and set `inlineEditDisabled: true`
    In quote entity -> quoteitems, there is "glyphicon glyphicon-pencil" for the inlineedit. Can I disable/remove only from that entity? If so, which

    In quote entity -> quoteitems, there is "glyphicon glyphicon-pencil" for the inlineedit. Can I disable/remove only from that entity? If so, which


    if you want to disable all fields in Opportunity, add the row "inlineEditDisabled":true to custom/Espo/Custom/Resources/metadata/clientDefs/Opportunity,json

    Comment


    • #3
      this directory does not exist for me.

      Comment


      • #4
        if you want to disable all fields in Opportunity, add the row "inlineEditDisabled":true to custom/Espo/Custom/Resources/metadata/clientDefs/Opportunity,json???

        {
        "dynamicLogic": {
        "fields": {
        "contacts": {
        "required": {
        "conditionGroup": [
        {
        "type": "equals",
        "attribute": "stage",
        "value": "Closed Won"
        }
        ]
        }
        },
        "account": {
        "required": null
        }
        }
        }
        }

        Where can I add the command line?

        Comment


        • #5
          It was an example, not solution. You need to disable inline edit only for one field, right?

          Comment


          • #6
            to the top level, order isn't important
            Code:
            {
            "inlineEditDisabled":true,
            "dynamicLogic": { ////.......
            }
            }

            Comment


            • #7
              Yes, just for the "stage", I made a rule in the contact field and with this quick edit does not work the rule, it only works with the default edit.

              Comment


              • #8

                Comment


                • tanya
                  tanya commented
                  Editing a comment
                  You made field required, not readonly

              • #9
                yes, I want the contact field to be filled if the value is "ganha" in the stage. If editing is fast, the system lets fill the stage, but if editing is complete, the system requires the completion of the contacts field.

                Comment


                • #10
                  And the command did not work.
                  "inlineEditDisabled":true,

                  Comment


                  • tanya
                    tanya commented
                    Editing a comment
                    Check if file is json valid. Clear Cache or Rebuild in Administration. Refresh page. It works, I checked (tell me your version, by the way)

                • #11
                  The easiest way is disable inline (fast) edit for Opportunities at all. Don't forget to clear cache

                  Comment


                  • #12
                    I cleared the cache, but unfortunately it did not work.

                    Thanks!

                    Comment


                    • #13
                      I reproduced you example with Dynamic Logic as well. After Clear Cache in Administration and refreshing the page (you could also Clear Local Cache in navigator) it works.

                      Comment


                      • #14
                        Okay, do it again.

                        Comment


                        • #15
                          I made it inside my VM to be sure, and still nothing.

                          Comment


                          • tanya
                            tanya commented
                            Editing a comment
                            you lost comma, json is not valid
                        Working...
                        X