plainblack.com
Username Password
search
Bookmark and Share

    

Generating Threads in Collaboration

User martien
Date 3/22/2010 4:47 am
Views 607
Rating -1    Rate [
|
]
Previous · Next
User Message
martien

I should like to import complete Threads to a collaboration object or, better still, to generate a complete CS from a list of threads, were each thread consists of a list of posts, each with an image and a description.

Although it would be nice, if this could be done from within WebGUI, for the time being it would be perfect, if possible to do it from the command line.

So, I'm looking for the best way to go and think about some alternatives:

Adding an Import to CSS c.q. Post,
Can this be done by wgd?
Would changing "fileImport.pl" be an option?

and would be pleased with some advices.

 

 



Back to Top
Rate [
|
]
 
 
perlDreamer

You definitely want to look into a utility script.  There is a utility script example in the sbin directory, _utility.skeleton.

Now, as to existing code, you should look in the test directory, /data/WebGUI/t.  Tests are organized to try and match the hierarchy of the lib directory, so Collaboration System tests are in t/Asset/Wobject/Collaboration.t

The Post and Thread tests may also be of use.



Back to Top
Rate [
|
]
 
 
martien

Thanks very much!

Especially the Post tests will be very helpfull, I think.



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved