cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict number of files and extension in open text

Former Member
0 Kudos

Hi, How to restrict number of files and extension in KM via open text. Regards, Arun

Accepted Solutions (0)

Answers (2)

Answers (2)

vijay_kumar49
Active Contributor
0 Kudos

Arun,

By using below code. we will findout extension of each and very file in KM

IResource tempResource = resourceListIterator.next();

// get MIMEtype         

updateListElement.setMIMEType(tempResource.getContent().getContentType());

LJB
Contributor
0 Kudos

Hi Arun,

From the KM side you can use repository filters for such tasks. See:
http://help.sap.com/saphelp_nw73/helpdata/en/69/d96b80a84611d5993600508b6b8b11/content.htm

Kind regards,

Lorcan.