since ‎06-01-2011
‎10-12-2019
Sourabh_S
Level 1
Re: How to get the Version History of a stored document?
Avatar

Sourabh_S

Sourabh_S
- Adobe LiveCycle
Here are a few points for your consideration : -Please note that there are two ways of creating versions in Content Services (a) by using storeContent API and passing "Version Type parameter as Major or Minor as you have done. But in addtion to this, you also need to pass Aspect Versionable. The second last parameter is null here. List aspectList = new ArrayList(); aspectList.add(0, "{http://www.alfresco.org/model/content/1.0}versionable"); Passing this aspect will make sure that versionable nod...

Views

242

Like

1

Replies

1
Re: Check for existence of document in Alfresco
Avatar

Sourabh_S

Sourabh_S
- Adobe LiveCycle
You could use Content Services's searchService to ascertain whether the node(document or space) exists in the repository or not.The only issue with this is that searchService is not orchestrable.So, call can be by using DocumentManagementServiceClient in an executeScript operation.Here is a sample code used to search for "Company Home->def->def.properties". import com.adobe.idp.dsc.clientsdk.ServiceClientFactory; import com.adobe.livecycle.contentservices.client.Query; import com.adobe.livecycle...

Views

100

Likes

0

Replies

0
Re: Null error: Invoke a livecycle process
Avatar

Sourabh_S

Sourabh_S
- Adobe LiveCycle
I have verified the orchestration and it works fine on our setups. Could you attach contentservices logs too? It is present in jboss->bin directory.

Views

312

Likes

0

Replies

0
Likes given to
Likes from