Digital_Impressions Posted July 1, 2020 Posted July 1, 2020 I am working with the Sankey Chart and the C3 Bar Chart in Carafe and they are working great, with the supplied data that I was able to modify. (have yet to figure out how to link my own data, but I will). I am wondering if these web viewers are supposed to able to work while viewing in WebDirect? So far I get errors in WebDirect and wonder if they only work in the Client platform. Thanks
smower Posted July 1, 2020 Posted July 1, 2020 Hello FileMaker Gurus, Has anyone gotten Carafe to work with FileMaker webdirect? I got it to work on Windows 10 and on my Ipad but when I uploaded to my FileMaker server I get the following errors in the webdirect web viewer: HTTP Error 400. The request URL is invalid. HTTP Error 414. The request URL is too long. Spinning wheel Thank you in advance, Shawn
dual_mon Posted July 1, 2020 Posted July 1, 2020 Thank you both for your questions. There is nothing inherently incompatible with Web Viewers and Web Direct. The problems you are experiencing could either be with the bundle implementation itself, or something with how Carafe is or is not properly handling encoding for WebDirect. Could you both comment back with details about which version of Carafe Kitchen you are using, and for @smower which bundle(s) you're trying?
Digital_Impressions Posted July 2, 2020 Author Posted July 2, 2020 I am using Carafe 3.0.3 This is error from the C3 Bar Chart Failed to load the bootstrap javascript: ./../../../../../../../../../../../../../../../../../../../../../../../../../VAADIN/vaadinBootstrap.js?v=7.7.9.fmi This is the error from the Sankey Chart Bad Request - Invalid URL HTTP Error 400. The request URL is invalid.
dual_mon Posted July 2, 2020 Posted July 2, 2020 Interesting. Well first off I suggest that you download Carafe Kitchen 3.1.1 which is the latest version. https://carafe.fm/downloads/ We did actually have a deployment bug with WebDirect encoding, and I'd have to research to find out which specific version the fix was in, but there's a good chance you have a version with that bug in it.
Digital_Impressions Posted July 2, 2020 Author Posted July 2, 2020 (edited) Update: premature update, still working on it. Edited July 2, 2020 by Digital_Impressions
Digital_Impressions Posted July 3, 2020 Author Posted July 3, 2020 Here is a new update. It is 'almost' working. It loads the chart for a second, then shows an error. I am including screen recording so you can see what its doing. SankeyChartRecording.mov
Digital_Impressions Posted July 7, 2020 Author Posted July 7, 2020 dual_mon, do you have any other suggestions?
dual_mon Posted July 10, 2020 Posted July 10, 2020 @Digital_Impressions what version of FileMaker Server are you on? It's hard to tell from your movie, so just to confirm, that is of a WebDirect screen? Which browser? You're going to want to be able to look at the browser's console to see what's going on. If you're on Windows, IE, you can use the F12 developer tool that comes with Windows. See https://youtu.be/yxozls1glHM?t=368 (at 6:08 for instructions on how to find this). All other browsers will have a developer mode you can enable which can help you track down errors like this. In any case, if @Jesse LaVere or I get the chance, we'll try to test this one out on WebDirect and see if we can identify what's going on.
Digital_Impressions Posted July 10, 2020 Author Posted July 10, 2020 @dual_mon Thank you. I am using FM18 and this video is web direct on a Mac using Safari. I am not sure what version of fm server the host company is using. I just tried it in Chrome and it does the same thing. I will look at the developer mode in Safari to see if I can track anything down.
dual_mon Posted July 10, 2020 Posted July 10, 2020 20 minutes ago, Digital_Impressions said: I am not sure what version of fm server the host company is using. This is important to know, because the WebDirect client is whatever version of Server you have.
Digital_Impressions Posted July 13, 2020 Author Posted July 13, 2020 (edited) @dual_mon OK, I found out my database is on a FileMaker Server 17 The errors I get in Safari are #400 and #404 I am not sure what other things to look for in the browser developer window, so hope this helps. If it would help to have access to the file we can do that. Edited July 13, 2020 by Digital_Impressions
smower Posted July 14, 2020 Posted July 14, 2020 My database is on FileMaker Server 18. The error messages happen on Windows Firefox. On Windows Chrome I don’t see the error messages but none of the charts are generating that I can tell. On Ipad Safari I get the same error messages that are displayed on Windows Firefox.
dual_mon Posted July 21, 2020 Posted July 21, 2020 Hello again, I've set up a simple demo file in which I've enabled WebDirect, and deployed a selection of scripts from Carafe Kitchen 3.1.1. The Full Access credentials are admin:admin I uploaded it to FileMaker Server 17, 18, and 19 and tested in in Chrome and Safari (FireFox is not supported by WebDirect). They all open fine. If you're having troubles with WebDirect, make sure you've deployed your bundle with Carafe Kitchen 3.1.1 or higher. We did have an earlier version of 3.x which didn't have the proper encoding for WebDirect. The Full Access credentials are admin:admin Carafe Web Direct Demo v1.fmp12.zip
Digital_Impressions Posted July 21, 2020 Author Posted July 21, 2020 @dual_mon Thank you. i tried your file and does work for me in web direct. I did deploy my bundle with Carafe Kitchen 3.1.1, so I am stumped. Its probably something to do with my data in java, or how i loaded it. I will have to play with it some more. again, thank you for looking into it.
dual_mon Posted July 21, 2020 Posted July 21, 2020 The brief load, followed by the error, suggests maybe you have an unexpected script trigger or something else going on. Make sure you're only loading it once.
Digital_Impressions Posted July 21, 2020 Author Posted July 21, 2020 (edited) I found a couple optional script steps that ran after loading the chart. I disabled them and now it works in WD. I think I may have too many items in the right column. Here is what is happening. It does this in FMP also if the window is not tall enough. Sankey_WebDirect_Test.mov Edited July 21, 2020 by Digital_Impressions
smower Posted July 21, 2020 Posted July 21, 2020 Thank you for that demo file. That seems to work for me on webdirect served by FileMaker server 19 on Windows in the Chrome Browser and the IPad Safari browser.
dual_mon Posted July 21, 2020 Posted July 21, 2020 4 hours ago, Digital_Impressions said: I think I may have too many items in the right column. Here is what is happening. It does this in FMP also if the window is not tall enough. Yes, the display issue when there is too much data in the right or left column is something you'll need to deal with by either consolidating your data, or enlarging the screen, as the Sankey implementation just doesn't handle that very gracefully.
Recommended Posts
This topic is 1654 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now