![]() If you also targeted a local variable, your data viewer is not dying from the content. ![]() Now the script step is on your clipboard and ready to paste into the script in your solution.Īnd now you have everything you need in the script, which makes your code more portable. Simply paste the content into the field, click the button and write the variable name you want to target. ![]() Now we just need to find a way to get our file content into the script step. The great thing is that this limit only apply to the dialog chrome – not the actual script step. However, if you try to paste the content of such files into the dialog, you will get a FileMaker error saying that there is a limit of 30.000 characters. Using the InsertText script step is a nice way to get text like the content of a JS or CSS file into a variable. You could use text objects, but then you are dependent on layouts and context.Īnd if you load them into global variables, you find yourself with a really slow data viewer, which you might need for other stuff. Multiple fields could work, but that adds to schema and it takes time. So with the increasing interest and popularity of embedding HTML/JavaScript widgets and features, we now find ourself in need of a good method to include the JS, CSS and other files within our solutions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |