Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-389

[documentation] nuxeo-operation must use 'response' attribute not 'on-response'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Core

      Description

      Access to https://elements.nuxeo.com/elements/nuxeo-operation

      The example of use of nuxeo-operation looks like this:

      <nuxeo-operation auto
          op="Document.Query"
          params="{'query': 'select from Document'}"
          on-response="{{handleResponse}}" enrichers="documentURL, preview"></nuxeo-operation>
      

      The right use:

      <nuxeo-operation auto
          op="Document.Query"
          params='{"query": "select from Document"}'
          response="{{handleResponse}}" enrichers="documentURL, preview"></nuxeo-operation>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m