Hello, I want to implement functionality that will save documents to

Hello,

I want to implement functionality that will save documents to the knowledge center and if a document has the same name as another document in the knowledge then I want a number appended to the end of the document name.

Does Appian have built in functionality for this?

OriginalPostID-183198

OriginalPostID-183198

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    This plugin may help: forum.appian.com/.../summary

    It has an expression that seems to do what you are asking:
    "UPDATED 07.01.2014
    - New function getContentDetailsByInternalName returns information about a content object (i.e. document) given its internal file name. If you know in what KC this file is located (based on its physical location, e.g. accdocs2\\8\\10000119.pdf is located in KC 8 ) you can narrow down the search and get a result faster by passing the KC as an optional parameter. Example:

    getContentDetailsByInternalName("10000119.pdf",8)
    "


    Hope that helps!
Reply
  • 0
    Certified Lead Developer
    This plugin may help: forum.appian.com/.../summary

    It has an expression that seems to do what you are asking:
    "UPDATED 07.01.2014
    - New function getContentDetailsByInternalName returns information about a content object (i.e. document) given its internal file name. If you know in what KC this file is located (based on its physical location, e.g. accdocs2\\8\\10000119.pdf is located in KC 8 ) you can narrow down the search and get a result faster by passing the KC as an optional parameter. Example:

    getContentDetailsByInternalName("10000119.pdf",8)
    "


    Hope that helps!
Children
No Data