How to read document tags

I have a requirement to read uploaded document's tags and process them accordingly. As an example, attached here an excel document's properties where you can see that 'INTERNAL' is one of the document tags. I want to process this file specially(like show a warning message on form, move them into a different folder etc..) when they are uploaded into Appian. Is there a way I can read those tags?

 

  Discussion posts and replies are publicly visible

Parents
  • Hi

    Please find the code,

    a!fileUploadField(
                        target: cons!TARGET_FOLDER,
                        value: documentId 
                      ).contents.value.fileName

     

    1. fileName
    2. fileDescription
    3. extension
    4. loadedBytes
    5. name
    6. fileSizeDisplay
    7. fileSizeBytes
    8. clearFileLabel
    9. documentId
    10. clientUuid

     

    You use the above index after the value,

    a!fileUploadField(
    ).contents.value 

    Same as code used as file name

    Thanks

    Aditya

     

     

     

Reply
  • Hi

    Please find the code,

    a!fileUploadField(
                        target: cons!TARGET_FOLDER,
                        value: documentId 
                      ).contents.value.fileName

     

    1. fileName
    2. fileDescription
    3. extension
    4. loadedBytes
    5. name
    6. fileSizeDisplay
    7. fileSizeBytes
    8. clearFileLabel
    9. documentId
    10. clientUuid

     

    You use the above index after the value,

    a!fileUploadField(
    ).contents.value 

    Same as code used as file name

    Thanks

    Aditya

     

     

     

Children