Tech Talk Live Blog

Linking Multiple Documents with an Auto-Generated Number in OnBase

Shawn Mellinger

As with many other organizations, we use OnBase for Enterprise Content Management. One of our processes involves a form that is linked to many other uploaded documents, and it posed a specific problem. This blog will cover the issue I ran into with forms and identification, as well as some of the processes we went through to fix the issue.

The specific business process called for a form to be completed and several documents to be uploaded concurrently with the form. In concept, I needed to generate an identifying ID for the form and use that as a common keyword for the form and any uploaded documents that should be linked. Once that ID number was assigned to the form, each uploaded document could inherit the ID number and thus all could be cross-referenced when the form was retrieved.

I began by setting the ID number from the form properties in workflow. I copied the document ID property into my ID number keyword. I knew that the document ID was auto-generated by OnBase for each document, thus was guaranteed to be unique. However, in practice I found that the document ID property was not being set until the form was saved. When the form was being filled out, the document ID was blank. This meant that any uploaded documents were inheriting a blank ID number and could not be cross-referenced.

The next iteration used an Auto Number keyword. This keyword would automatically increment from the last number assigned and guarantee a unique ID number. However, I found that I could not use that auto number keyword to link documents. The auto number was generated anew for each document, and so the form would have a different ID than its associated uploaded documents. Again, this meant that cross-referencing between the form and its documents would not work.

The final solution was a mix of both attempts. I created a custom action in the form that copied the auto number into the ID number keyword. This allowed the form and its documents to be linked using that ID number. When the form was created, it created a new auto number in that keyword. This number was copied to the ID number. As associatedthe same ID number.

As you can see, trying to maintain a unique ID number for a form in OnBase can be tricky. After some thought and testing, using the combination of an auto-generated keyword and separate ID number keyword proved to be our ideal solution for unique ID numbers. Your situation may call for a different variation of this solution; however, this blog can help you avoid some of the pitfalls that I encountered.

Tech Talk Live Blog Comment Guidelines:

One of our main goals at Tech Talk Live is to build a community. It is our hope that this blog can be a forum for discussion around our content. We see commenting as an integral part of this community. It allows everyone to participate, contribute, connect, and share relevant personal experience that adds value to the conversation. Respect counts. We believe you can disagree without being disagreeable. Please refrain from personal attacks, name calling, libel/defamation, hate speech, discriminatory or obscene/profane language, etc. Comments should keep to the topic at hand, and not be promotional or commercial in nature. Please do not link to personal blog posts, websites, or social media accounts that are irrelevant to the conversation. This is considered self-promotion. We welcome links that help further the conversation and reserve the right to delete those we deem unnecessary. The appearance of external links on this site does not constitute official endorsement on behalf of Tech Talk Live or Lancaster-Lebanon Intermediate Unit 13. You are solely responsible for the content that you post – please use your best judgment. We reserve the right to remove posts that do not follow these guidelines.

Leave a Reply

Your email address will not be published. Required fields are marked *


Tech Talk Live is the only conference of its kind in the region specifically designed for IT pros in education.

1020 New Holland Avenue, Lancaster, PA 17601

(717) 606-1770