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

Add more API for creating Wiki Reference, Space Reference and in general any Entity Reference to the Model Script Service

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.0-milestone-1
    • Component/s: Model
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Example usage:

      $services.model.createWikiReference("mywiki")
      $services.model.createSpaceReference("myspace", $services.model.createWikiReference("mywiki"))
      $services.model.createEntityReference("mypage", "document")
      $services.model.createEntityReference("mypage", "document", $services.model.createEntityReference("mywiki", "wiki"))
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: