Restrict Files Types for documents based upon document Type  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Restrict Files Types for documents based upon document Type

Postby SBarnes » Thu Oct 29, 2020 7:20 am

What would be the best way to restrict the files that a user could choose in adding documents to either a debtor or inventory based upon the document type, for instance if you had a document type called company logo how could you restrict the file open dialog to only allowing images to be chosen?

The only way I could see doing it at the moment would be to in the setup before handler take over doing this on the grid button click and throw a client cancelled exception to stop Jiwa, is this the only way to do it?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Restrict Files Types for documents based upon document T  Topic is solved

Postby Mike.Sheen » Thu Oct 29, 2020 12:29 pm

SBarnes wrote:Wis this the only way to do it?


Yep!
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 6 guests

cron