Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Adding version
unknown
While adding a version, we are getting the following error. E682229767:Could not fetch the provider information.: ----> 2) E682229766:The provider record is invalid.:Dispatcher error: This version has not yet been loaded from a remote cache.The code is result = DAPI.AddVersion( node, version, '', filepath )We tried giving the provider info, like,List providerInfo = $WebAdmin.AdminUtils.ProviderInfo()result = DAPI.AddVersion( node, version, providerInfo[1], filepath )But still getting the same error.Can someone help out.
Find more posts tagged with
Comments
Donna Nalls
Hello,In general, I try to use the llNode methods instead of the direct DAPI calls. I find that the llnode methods will take care of a lot of overhead for me, which i may miss when making a dapi call (like providerinfo).// retrieve the node type's object handleObject docLLNode = $LLIAPI.LLNodeSubsystem.GetItem($TypeDocument) // now you have access to all the node functions specific to that node type include docLLNode.NodeAddVersion(....)You will find the document llnode object in the LLIAPI Ospace -->LLIAPIRoot-->LLNode-->DocumentHope this helps.Donna