HiI've used these functions:
DAPI.GetNode(nameSorgente, wfFolderDaScanner)DAPI.ListSubNodes(wfFolderSorgente)DAPI.GetNodeByID(dSession, NodeID_DaScanner)
Do you think that they will give me problem?Thanks in advance
DAPI Posted byMenichelli, FabrizioOn 09/22/2016 09:46 AM HiI've used these functions:DAPI.GetNode(nameSorgente, wfFolderDaScanner)DAPI.ListSubNodes(wfFolderSorgente)DAPI.GetNodeByID(dSession, NodeID_DaScanner)Do you think that they will give me problem?Thanks in advance [To post a comment, use the normal reply function]Forum:Content Server Development ForumContent Server:Knowledge Center
Just to add on to Appu's points, a very good reason to use an equivalent function in LLNode() rather than a DAPI function, is that more often than not, it includes permission checks. For example. DAPI.ListSubNodes() or DAPI.ListContents() will allow you to fetch all nodes, although both functions today allow you to pass in an optional Perm mask. In this example, most of the time you would want all child nodes that a user has See + See Contents for, and nothing else.
In the same vein, using the DApi.AddVersion() to upload a version should be avoided like the plague! Always use LLNode().NodeAddVersion() as it also manages the transaction so you don't have to.
-Hugh
Thank you Appu and Hugh,I was looking for clarification as well and still think is pretty awkward LLIAPI are not mentioned on SDK documentation.
Hi Roberto,
That is a good point. I was looking at earlier versions of the SDK documentation and the LLIAPI section was part of it. We will investigate internally to understand why it was removed from the documentation.
Thanks for pointing this out!
Regards
Juliano Ghisi
In CS 10.0 U 2016-06 at least, it can be found under Index:Livelink Module Index : Kernel : LLIAPI : LLNode.
I can't test CS 16 from work because my client's corporate IT policy for servers is that they can only be accessed from accounts with Internet access disabled. My feature request for OpenText is to allow some sort of off-line documentation option for licenced users with this scenario. It is fairly common across the Government of Canada.
Hi Hugh,
This was discussed before and Open Text delivers the documentation also in an offline format:
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=62358995
Hans
From: eLink Entry: Content Server Development Forum [mailto:development@elinkkc.opentext.com]Sent: Dienstag, 27. September 2016 15:57To: eLink RecipientSubject: Re DAPI
Re DAPI
Posted by Ferguson, Hugh On 09/27/2016 09:49 AM
Quoted Juliano Ghisi on 09/27/2016 09:49 AM:
[To post a comment, use the normal reply function]
Topic:
DAPI
Forum:
Content Server Development Forum
Content Server:
Knowledge Center CS16