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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.0-milestone-1
    • 4.5
    • Model
    • None
    • Unit
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: