1 Reply Latest reply on Nov 14, 2018 12:20 PM by Andrew Waters

    Query to get last KnowledgeUpload for a PatternModule

    Rémi Chaffard
      Share This:

      Hi,


      For some purposes, I would like to retrieve in tpl the name of the latest KnowledgeUpload for a PatternModule. I can use this to get all:

       

      search PatternModule traverse UploadItem:UploadContents:Upload:KnowledgeUpload
      

       

      Out of this list I would like to know which one is the latest uploaded. Is it possible ?

      This is for custom KnowledgeUploads, and I don't want to rely on name (which are tagged with date) since we may have some minor change making sorting incorrect.

       

      Thanks for your help.

      Rémi