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)
CSIDE and OScript
How to Move & Add Version using OScript?
Julia_Lin
Hi,My scenario is this: there is an existing document A in folder A, and when a user adds document B in folder B, document B is to be added as a new version to document A in folder A, and this version (residing in folder A) will be called. I was able to utilize the CopyVersion() function to get a copy of document B and add it as a new version of document A, but there is still a document B in folder B. Is it possible to move document B to folder A and add it as a new version to document A so that when document B's ID is referenced, it actually points to the latest version of document A residing in folder A? Your help would be much appreciated!
Find more posts tagged with
Comments
sıɹɥɔ
Message from Chris Webster <
cwebster@opentext.com
> via eLink
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">eLink
Hi Julia,
It sounds as though you might want to create either an Alias or a Generation. An alias is an object that references another object, and which will typically default to the latest version of that item. A Generation is a reference to a particular version of an item, not changed when additional versions are added to the original item. (Note that the existence of a Generation affects the ability to delete the item.)
In the user interface an Alias is known as "Shortcut" to the end-user.
-chris
From:
eLink Discussion: Livelink Builder Discussion [mailto:componentbuilder@elinkkc.opentext.com]
Sent:
Friday, August 14, 2009 4:04 AM
To:
eLink Recipient
Subject:
How to Move & Add Version using OScript?
How to Move & Add Version using OScript?
Posted by
julia.lin@airliquide.com
(Lin, Julia) on 2009/08/14 04:59
Hi,
My scenario is this: there is an existing document A in folder A, and when a user adds document B in folder B, document B is to be added as a new version to document A in folder A, and this version (residing in folder A) will be called. I was able to utilize the CopyVersion() function to get a copy of document B and add it as a new version of document A, but there is still a document B in folder B. Is it possible to move document B to folder A and add it as a new version to document A so that when document B's ID is referenced, it actually points to the latest version of document A residing in folder A?
Your help would be much appreciated!