Hi all, I'd like to know witch is the best way to Create Delete Move page from external application using Magnolia API.
In my magnolia webapp I've a section that show information stored in oracle DB. I've one page for each record stored in my User table and all pages are organized hierarchical order. Ex: /home/CityX/UserA /home/CityX/UserB /home/CityX/UserC /home/CityY/UserK /home/CityY/UserF Using external application a could modify operation stored into db 1) I could delete User (delete a record) 2) I could insert new User (insert a new record ) 3) I could move User from city X in city Y (update a record ) For each of these operation I've to modify website workspace in magnolia 1) delete a corresponding user page, 2) create a new page for the new user in the correct path 3) move page from path /home/CityX/ to /home/CityY/ My idea: 1) Develop a servletUpdate under magnolia webapp. This servlet implements all method to Create Delete and Move page using HierarchyManager class 2) From my CRUD webapps every time it is necessary, I 've to invoke servletUpdate passing the necessary parameter in order to update website workspace Question: 1) To Modify website workspace from external application authentication is required? If yes how can I do ? 2) Where I can put my servletUpdate? If I use this mapping I'll obtain error 404 <servlet-name>servletUpdate</servlet-name> <url-pattern>/servletUpdate</url-pattern> If I use this mapping <servlet-name>servletUpdate</servlet-name> <url-pattern>/.magnolia/servletUpdate</url-pattern> it works but authentication is required!!!! 3) There is another way to manage struttured data in magnolia CE ? Any help will be appreciate Lara ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
