Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to restrict file types or certain file extensions for RTC Work Item Attachment

We are currently using CLM version 6.0.1. We would like to restrict people from attaching arbitrary files to work items. On when hand we would like people to upload attachments on the other we would like to restrict it to certain extensions like .doc, .ppt, .pdf, .xls, xlsx etc. only. In principle we would like to block people from uploading files with extensions not in our whitelist.

I have written some basic RTC extension for custom notification earlier and I would like to know if this approach is possible. We can create an Operation Advisor which will get the file extension of all the attachments of the work Item and prevent save, if the file type is not in our whitelist. Any sample code to get the attachment file name, URL etc will help a lot.

0 votes



One answer

Permanent link

Hi,

your approach with a Operation Advisor sounds like the way to go. You ought to find some relevant code for work item attachments e.g. in uploading-attachments-to-work-items in Ralph Schoons blog.

- Arne

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,052

Question asked: Oct 02 '17, 10:11 a.m.

Question was seen: 3,033 times

Last updated: Oct 04 '17, 10:34 a.m.

Confirmation Cancel Confirm