You are viewing limited content. For full access, please sign in.

Question

Question

Copy link Between Entries

asked on November 3, 2016

Hello,

I am looking to copy an entry, and also the links associated with that starting entry.  For example: I have Entry X which is linked to entry Y. I want to copy Entry X. so I have entry Z and I want entry Z to have a link to entry Y, just as entry X has.

Is this possible without having to find Entry Y in the repository again?

Thanks,

Darren 

0 0

Replies

replied on November 3, 2016

Darren,

The best way I can think of to do something like that would be to create a workflow that creates the copies and shortcuts, and then set it up as a business process. This has the advantage that you can control which of your users have the ability to do it.

The Move Entry Workflow Activity has an option to Copy entries, and you'd use the Retrieve Shortcuts Activity, and do additional Move Entries to Copy those as well.

Just as a point of constructive criticism, I'd examine the Use Cases for why you would want to create two copies of a document, and also copies of all of that document's shortcuts. It would be wiser to have only one copy of a particular document, and then have three shortcuts to it, instead of two copies of a document, and a shortcut to each version. That has to potential to turn into a huge mess unless this is meant to create a copy of a document in a different repository.

0 0
replied on November 3, 2016

Hi Glen,

 

I am trying to copy the link between documents, not shortcuts.

 

I need the copied doc and its links further on in the workflow I am creating.

 

0 0
replied on November 3, 2016

Sorry, I misread your request. 

I believe this is the answer to your problem: 

https://answers.laserfiche.com/questions/71892/Retrieve-document-link

Either use the results of an Advanced Search, or you'll have to use the SDK to do it.

0 0
replied on November 4, 2016 Show version history

That tells me how to find docs with given link relationships.  I am looking to copy or duplicate the relationship.

In the same way when I copy an entry I get all the metadata fields already filled in, I want the link to come with the copied file as the metadata does.

So if I have an entry with data field X and in the field is "123" when I copy that entry data field X in the copied entry will also have "123."  I want the same  thing for link relationships.

So if entry X is linked to entry Y, when I copy entry X I want the copy of that entry to also be linked to entry Y.  So in the end I have this:

without having to find entry Y again 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.