Enter a brief description of your changes
(Required)
Minor changes are by default collapsed in the page history.
No changes
The page does not exist yet.
Failed to load changes
Version by on
Leave Collaboration
Are you sure you want to leave the realtime collaboration and continue editing alone? The changes you save while editing alone will lead to merge conflicts with the changes auto-saved by the realtime editing session.
Suppose I have created a class named XWiki.employee with five properties: christianName,familyName,jobDescription,supervisorId,and dateHired. I can create document (or object) by page wizard. But using this page wizard, I can only add the document one by one. Now I have a bunch of employee information in a structure table in a database. I do not want to add the employee information one by one. I want to use API to create a lot of documents from the known employee information. Which API can I use? Could you please give me an example to do this? Thanks.
Suppose I have created a class named XWiki.employee with five properties: christianName,familyName,jobDescription,supervisorId,and dateHired. I can create document (or object) by page wizard. But using this page wizard, I can only add the document one by one. Now I have a bunch of employee information in a structure table in a database. I do not want to add the employee information one by one. I want to use API to create a lot of documents from the known employee information. Which API can I use? Could you please give me an example to do this? Thanks.