Hi,
I want to use a collections object to collect objects from Content Server which represent some sort of a quick menu for users.
The use of collections was the only way I found to keep the permissions so a user would not see an object in that collection if he had no according rights on the original object.
I now wanted to read the content of that collection in XML format via an ajax script, including the description field of those objects and process that data.
Unfortunately neither xmlexports nor livelink query language searches would send back any data. On the other hand using an OScript like this:
parentNode = DAPI.GetNodeByID( dapiCtx.fSession, DAPI.BY_DATAID, object_id, False )
if ( IsDefined( parentNode ) && IsNotError( parentNode ))
llnode = $LLIAPI.LLNodeSubsystem.GetItem( parentNode.pSubType )
checkVal = llNode.NodeListContents( parentNode, "WebNodes" )
Which works for normal folder objects will return everything not only the ones a user is allowed to access.
How can I achieve my task, any help appreciated.
Cheers,
Juergen