Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15178

API (script and rest) to update macro data in a document

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      When building macros that use Javascript and in which you could as a user change the data in the UI, it would be interesting to have an easy way to update the macro parameters and content from javascript.

      The API would allow to pass the macroname, the occurence of the macro in the page and the new data to update (content and parameters). Thanks to this API the page would be saved with the data updated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ludovic Ludovic Dubost
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: