We can't create file upload so well, many ways we've tried, but finally it doesn't work, we got the upload way from pzAttachFileBrowseMultiDD_P then save as our section but we cannot change File Description as Dropdown to choose any kind of document, it changed only on my operator id, but it's not changed to another operator id, or mybe you guys having another way to upload file properly by file category then to show all documents after uploaded on the page. Thanks before.
Once we upload the file in post activity why cant we write a login depends on the description of the file and choose category and pass the cateory to save all attachemets activity so the attchement will be saved with mentioned category. To display on the ui fetch it from D_attachement list (parameter data page need to pass case key to get all the attachements). Once we got all the attachements copy only the attchement files of required categories(.pyCategory).
The activity responsible to show the list is pyGetListOfAttachmentCategoriesWrapper which builds the list for the types of files. This in turn calls GetListOfAttachmentCategories which poppulates pyCategoryList with AttachmentCategories. You can have a look at the logic used here as well.