Alexandre Souza wrote: > Hi, > > I am developing a script to generate several html pages and inclusion in the > XWiki database, but after add the page in *xwikidoc table* successfully it > is not loaded in the xwiki. > There is another procedure to be done after inclusion data in mysql > database?
You should never manipulate XWiki data using direct SQL access. The ID of a document is actually a key to finding the right document, and only a certain value (the java hashcode) can be used for each document, so generating it from outside Java is hard. My advice is to use either a Java or Groovy code that uses the xwiki API to insert documents in the database. An example of such a script can be seen at http://svn.xwiki.org/svnroot/xwiki/sandbox/tools/cryptpasswords/ -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users