Skip to content

fmIDE 'Name that Thing' API fmp urls

Russell Watson edited this page Oct 5, 2022 · 5 revisions

Calling fmIDE

You can call the fmIDE script

  • by fmp-url (recommended)
  • by name
  • directly (not recommended)

but the fmIDE 'Name that thing' API is best called via fmp url.

fmp urls

Here are some example fmp urls.

Maybe you have already seen fmp urls to run scripts?

  • RUN the script "Find Rabbits" in "FileA"
    • fmp19://$/FileA?script=Find%20Rabbits
  • RUN the script "Open URL" in "FileA"
    • fmp19://$/FileA?script=Open%20URL

With fmIDE you can EDIT scripts

  • EDIT the script "Find Rabbits" in "FileA"
    • fmp19://$/FileA?script=fmIDE&$script_name=Find%20Rabbits
  • EDIT the script "Open URL" in "FileA"
    • fmp19://$/FileA?script=fmIDE&$script_name=Open%20URL&$script_step_number=3

One URL to bind them

As in the Lord of the Rings the one ring existed to rule all rings, there shall be one URL to bind all FileMaker IDEs:

Here is a template to illustrate the URL:

{{$fmp}}://{{$server_address}}/{{%$target_file_name%}}?script=fmIDE
&$account_name={{%$account_name%}}
&$base_table_name={{%$base_table_name%}}
&$custom_function_name={{%$custom_function_name%}}
&$custom_menu_item_name={{%$custom_menu_item_name%}}
&$custom_menu_name={{%$custom_menu_name%}}
&$custom_menu_set_name={{%$custom_menu_set_name%}}
&$extended_privilege_name={{%$extended_privilege_name%}}
&$external_data_source_name={{%$external_data_source_name%}}
&$field_name={{%$field_name%}}
&$field_id={{%$field_id%}}
&$file_name={{%$file_name%}}
&$layout_name={{%$layout_name%}}
&$object_name={{%$object_name%}}
&$privilege_set_name={{%$privilege_set_name%}}
&$script_name={{%$script_name%}}
&$script_name_stub={{%$script_name_stub%}}
&$script_step_name={{%$script_step_name%}}
&$table_name={{%$table_name%}}
&$theme_name={{%$theme_name%}}
&$t_o_name={{%$t_o_name%}}
&$value_list_name={{%$value_list_name%}}
&$window_name={{%$window_name%}}

If a FileMaker tool or database can pad this URL with variables, it can integrate with any fmIDE-powered database!