How do I validate in D2 if a file already exists when checking in?

Stephanie.Koester
edited February 16, 2015 in Documentum #1

Hi,

I'm new to the D2 tool, and I'm trying to figure out how to set the check in function so that it will search the cabinet to see if the file I'm trying to check in already exists (we only want 1 record per file name in our cabinets).  Is there a way I can configure so it will check and if the file exists already, it will not check in and give an error?

Tagged:

Comments

  • EktaVegad
    EktaVegad Member
    edited February 12, 2015 #2

    Hi Stephanie,

    You can do this by applying uniqueness on the documents.

    For that you need to configure Uniqueness in D2-Config

    Regards,

    Ekta

  • Julien.Fontaine
    edited February 15, 2015 #3

    Yes EKTA is right.

    You should apply an uniqueness check on the object_name of the document. But the question is how you configure your autolinks features because, first you have to get your folder and then check if you already have the object_name in this folder....

    Good luck and welcome to the D2 Community

  • Stephanie.Koester
    edited February 16, 2015 #4

    So, any suggestions on how to configure our auto links?