Brian Dunning's FileMaker Custom Functions

GetProperty ( propertyList ; propertyName )

Extract a property's value from a property list

  Average rating: 4.6 (26 votes) Log in to vote

Shaun Flisakowski   Shaun Flisakowski
spf-15
http://www.spf-15.com/

Share on Facebook Share on Twitter

  Sample input:
GetProperty ( "left=20¶top=80¶name=bill"; "top" )
  Sample output:
80

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

Extracts a single property's value from a newline seperated list of properties, by property name.

This function can be used to easily pass multiple named parameters into a script.

 

Comments

Jeff Dressing   Jeff Dressing
Nov 10, 2020
How can this function be modified to bring back all instances of a property?
So there could be several values with the same property name...
 
Jeff Dressing   Jeff Dressing
Nov 11, 2020
How can this function be modified to bring back all instances of a property?
So there could be several values with the same property name...
 

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 20 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: