Foren

Is it possible to create multiple organisation dynamically

thumbnail
guru murthy, geändert vor 12 Jahren.

Is it possible to create multiple organisation dynamically

Regular Member Beiträge: 208 Beitrittsdatum: 12.08.11 Neueste Beiträge
Hello all ,

I have one xml document and in that document I wrote like below .
<xml>
<organisation>
<name>Organisation_name</name>
<url>organisation_friendly_url</url>
</organisation>
</xml>


In this way , I wrote multiple organisation names & friendly url's .

At now , I need to create get back the data from this xml sheet and I have to create organisation for every organisation node .

If any body know how to do it then respond for this.

Thanks in advance...
G.Murthy
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: Is it possible to create multiple organisation dynamically

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
There is a sample code to import organization from csv file using web service.
You can modify the code to use xml file instead. If necessary, you can use corresponding Liferay API to
import organization from a Liferay page.

http://www.liferay.com/community/wiki/-/wiki/Main/Web+Service+samples