Hi, is there a way to store the non-rich text version of a rich-text field (in a separate field than the source HTML field)? Reply
Hi Serge, By default, the RTE add-on does not store the text-only field data. Using “GetLayoutObjectAttribute”, you could grab that data, then parse out the necessary text values. The MBS plugin also has a function (WebView.Copy) which does exactly that. Another option would be to add a javascript call-back in the web viewer with the text as the parameter. Hope this helps! Reply
Hi. To my chagrin, I’ve just discovered this RTE. I could have seriously used it a month ago when I programmed something that I don’t have to time to return to now. Anyway, it’s working. But there is a difference between the RTE I put on a page and the one that appears in the Tasks layout of the “create new … try the quick start experience.” The blue configuration button is not visible. I had assumed that after configuration it would disappear. Tho I’m not sure how the configuration would then be changed! I also found that I could only add the RTE from the Add ons list on the left if the field that is going to use it actually on the layout. I’m using FM 19.1.1.83. Thanks for any insights you might be able to offer. Reply
Is it possible to apply the etitor to a field in another table that is connected via a relation? The field is of course also in the layout. It seems to me that this is excluded. But why? Is there a way to omit the settings button and use a script to apply it? Could this possibly solve the problem? Best regard Oliver Reply
Hi Oliver – I had this same question, and have a solution. First, I made a global text field in my current context and hooked the RTE to it during configuration. In the HTML field that the RTE drops onto your layout, there will be a UUID listed. Go into the “RichTextEditor Save Data” script, and add an IF block like so: If [ $AddonUUID = “YOUR-UUID-GOES-HERE” ] Set Field [ ExternalTable::Desired_TextField ; JSONGetElement ( $data ; “html” ) ] End If Hope this helps! Reply
I also have a script trigger on related record load that puts the contents of my related field into my local global field. Hope that’s clear. Reply
Hi Oliver, The rich-text editor is designed to be applied to one field at a time. In theory, you should be able to apply it to a number of different fields on the same layout. For this demonstration, we chose to only apply it to the “Body” field, since that’s the only field in this demo that required the rich-text add-on. The settings button is included with the rich-text add-on, and is specific to that instance of the add-on. Each add-on added to a solution will have it’s own specific ID assigned to it, so the settings button sets the configuration for that specific instance of the add-on. Since add-ons are new to the FileMaker scene, we’re discovering new use-case scenarios all the time. We’d be happy to help implement any of these ideas into your solution. Reply
I just downloaded the sample file. Unfortunately it doesn’t work for me. Is the demo file supposed to be locked ? Cannot find admin password 🙁 Best regards Lars Reply
Hi Lars, What part of the demo doesn’t work? Are you able to open the file using FM 19.1.3 or higher? The demo is intended to be for demonstration only. If there is a specific feature in the demo that you would like to implement, we would be more than happy to assist with the integration. Reply