Error while creating folder

Error while creating folder

amitnkukanur
Collaborator Collaborator
1,479 Views
5 Replies
Message 1 of 6

Error while creating folder

amitnkukanur
Collaborator
Collaborator

Hello,

 

I am doing a customization for Vault Professional 2014 and C# as my development language.

I am trying to create folders and its working perfectly for most of users created. However for one particular user i am getting error as 3100. 

 

I checked this error in API Documentation and found error as BadLifecycleDefinitionID, Can some one please suggest me a way to resolve this issue

 

rgds

Amit

Senior Software Engineer
0 Likes
Accepted solutions (1)
1,480 Views
5 Replies
Replies (5)
Message 2 of 6

minkd
Alumni
Alumni
Accepted solution

Which AddFolder method are you using?

 

There is the AddFolder in the DocumentService, and there is the AddFolderWithCategory in the DocumentServiceExtensions.

 

If it's the former, look at the default category for folders to see if it has a lifecycle.

If it's the latter, take a look at the definition whose ID is being passed.

 

-Dave

 



Dave Mink
Fusion Lifecycle
Autodesk, Inc.
0 Likes
Message 3 of 6

amitnkukanur
Collaborator
Collaborator

Hi Dave,

 

Thanks for Reply. Currently i am using  "AddFolder in the DocumentService" to add folders.

 

Like you said to have a look to "default category for folders to see if it has a lifecycle". I will surely work on it and check if any lifecycle is there.

 

rgds

Amit

Senior Software Engineer
0 Likes
Message 4 of 6

Anonymous
Not applicable

Did this work? I just get a soap 303 error

0 Likes
Message 5 of 6

amitnkukanur
Collaborator
Collaborator

Hi Mark,

 

Yes, it worked in my case as i changed the folder category. Try with different categories.

 

Can you elaborate on error.

 

rgds

Amit

Senior Software Engineer
0 Likes
Message 6 of 6

Balaji_07
Advocate
Advocate
0 Likes