Ability to use the control type 'Uploader' which allows 'searchable documents' to be attached to any Business Object.

Version 1

    Details

    This article goes over the process of using the control type 'Uploader' which allows 'searchable documents' to be attached to any Business Object. 



     


    Resolution

     

    In this scenario, we will add the Uploader function to the Incident Business Object. 

    1. Log in as Admin
    2. Go to Configure Application
    3. Go to Business Object
    4. Go to Incident
    We will add 3 fields. Two Text Fields and one Binary Field. 
    5. Select "Add New" under the Fields tab
    6. Select  Text Field
    7. Name the Text Field - this one has been named "NameOfAttachment" 
    a. Be sure to mark the Field Attributes as Nullable, Searched, and Stored. 

    8. Click "Add this field"
    9. Now add the second Text field 
    10. Name the Text Field - this one has been named "ExtensionOfAttachment"
    a. Be sure to mark the Field Attributes as Nullable, Searched, and Stored. 
    11. Click "Add this field"
    12. Now we will add the Binary Field
    13. Go to Add New and Select the Binary Field
    14. Add in the Name, select Unlimited for the Binary Length, and be sure to select the Field Attributes: Nullable, Searched, Stored, and Full-Text Indexed. 
    NOTE: When selecting the Full-Text Indexed you have to specify the Type Column - from the drop-down list, select the NameOfAttachment field created in Step 7.
     It should look like the below image. 

    15. Click "Add this field" 
    16. Save the Business Object. 
    17. Now, we will add this to the Form. 
    18. Go to the desired form
    18. From the Incident Folder, find and add the field BinaryAttachmentTest (This is the binary field just created) to the Form. 
    19. Once it is on the form, the following configuration should be put in the Control Properties section
    20. Add the name of the Text fields just created in the appropriate Value 
    a. Extension Field - ExtensionOfAttachment
    b. File Name Field - NameOfAttachment
    21. Now save your form. 

    Your Searchable Uploader is now available for use on the form of your choosing regardless of Business object. 

    You can search for the values within the document using your Simple Search bar.