Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FM.DataViewerContent
Looks for data viewer and copies visible table content.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FM | 6.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "FM.DataViewerContent" )
Parameters
none
Result
Returns text or error.
Description
Looks for data viewer and copies visible table content.This is useful to capture values from data viewer automatically while debugging and storing it somewhere, e.g. a log file.
Examples
Sets variables and copies their content:
Set Variable [$r; Value:"Hello"]
Set Variable [$$r; Value:"Hello global"]
Set Variable [$l; Value:MBS( "FM.DataViewerContent" )]
Show Custom Dialog ["Data Viewer"; $l]
Write to log file:
MBS( "Text.AppendTextFile"; Get ( CurrentTimeStamp ) & ": " & MBS( "FM.DataViewerContent" ) & ¶; "/tmp/dataviewer.log"; "UTF8" )
See also
Blog Entries
- Goodies 28: Hide lines in Data Viewer
- Data Viewer extensions
- Define hot keys for functions in the FileMaker development
- MBS FileMaker Plugin 6.3 for OS X/Windows
- MBS FileMaker Plugin, version 6.3pr3
This function checks for a license.
Created 18th June 2016, last changed 18th June 2016