Brian Dunning's FileMaker Custom Functions

MimeType ( medialocation ; default )

Return Mime Type for media

  Average rating: 2.6 (216 votes) Log in to vote

Roger Biel   Roger Biel
2Geckos Consulting, LLC
www.2geckos.com

Share on Facebook Share on Twitter

  Sample input:
MimeType( L107::Graphic ; "TXT" )
  Sample output:
image/jpeg

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Determines the standard Mime type of most file extensions.
Default will be used in not mime type is found.

medialocation may be a container or pathname

 

Comments

Austin Burbridge   Austin Burbridge, Los Angeles
May 2, 2012
This wants the <trim4> function
 
Roger Biel   Roger Biel, Casa Grande, Arizona
May 2, 2012
You can substitute the TrimAll( text ; 1;2)
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.