First, I created a page via /rest/wikis/xwiki/spaces/OSP%20Bot%20Knowledge/spaces/Test/pages/WebHome
Second, I create an object to the page by POST /rest/wikis/xwiki/spaces/OSP%20Bot%20Knowledge/spaces/Test/pages/WebHome/objects
with parameters className=XWiki.XWikiUsers&property#first_name=John&property#last_name=Doe
the result is I can fetch the page content from rest api /rest/wikis/xwiki/spaces/OSP%20Bot%20Knowledge/spaces/Test/pages/WebHome
, but on the web page, which is /bin/view/OSP Bot Knowledge/Test/
, i can only get the John Doe’s information not the content.
I want to extend some properties for page with some related information.
And I query the objects of the page, there are a XWiki.XWikiUsers
and a XWiki.TagClass
, but the XWiki.TagClass
does not affect the web page display.