proofgeist / generator

Generator - Store, explore, share and create FileMaker Code
MIT License
35 stars 8 forks source link

Feature request. #23

Open FredBluggs opened 6 years ago

FredBluggs commented 6 years ago

When generating Set Field Scripts Steps, would you consider adding an optional variable to JSONGetElement( $json ; "[" & $index & "]description" ) to enable the creation of a loop to easily parse JSON data with multiple records?

toddgeist commented 6 years ago

Hi :-)

You can already make a looping generator that will do that. See the video. So using that combined with the set field generator you already have all you need.

:-)

Todd

FredBluggs commented 6 years ago

Hi Todd,

Thanks for the reply - I've just found the video here on github that should be the one your refer to :-)

Fred

And I've done a dumb thing of unintentionally creating a fork :-( apologies.

toddgeist commented 6 years ago

It's right on the read me.

https://m.youtube.com/watch?v=EnycrdIHSBQ&feature=youtu.be

:-)

FredBluggs commented 6 years ago

I've tried working through the example from the video, and keep getting a popover that say's 'We couldn't find any FileMaker Objext XML'

I'm using Windows 7Pro and I am guessing that windows isn't supported at the moment?

If that is the case, is there a fundamental reason for that, or one of time/pressure constraints ? :-)

Cheers

toddgeist commented 6 years ago

Windows should work, but frankly, we don't use it, so it doesn't get tested as much. Not sure why you are getting that error. But if you log it as a new issue, that would help.

FredBluggs commented 6 years ago

Thanks Todd