filemaker

Laravel single route point to different controller depending on slugs

Deadly 提交于 2019-12-02 10:44:21
I'm new to laravel and I have searched a lot for an answer to my problem but either it's not applicable or I'm not getting it. I have a FileMaker solution for a client that handle customers and events. Each customer to my client have their own event websites that is managed via the solution. A cms simply. Each customer get a site with a url like clientsite.com/event. Each page in the event has a page-type and I would like to address different controllers depending on the type. In routes.php i have: Route::group(['middleware' => ['sal', 'menu']], function () { Route::get('/{event}/{page}',

Grouping flat xml using xslt (muenchian grouping), can't get it to group

冷暖自知 提交于 2019-12-02 08:19:49
I spent quite some time trying to get muenchian grouping of the below xml to work but I can't get it to work. I tried a number of different ways so posting the most recent attempt probably just confuses anyone trying to help me. :-) Xslt needs to be 1.0 Input file is invoice lines where "invoice header info" is duplicated for each line belonging to a particular invoice. Grouping should be made in field _id, i e value in RESULTSET/ROW"/COL[12]/DATA (e. g. 'C82F1B47-9758-4D18-ABD7-80386385F6AD') COL[21] through COL[27] are the different invoice lines for the invoice and as such should be listed

How can I use JDBC to copy schema from one database to another without using Apache DDLUtils?

笑着哭i 提交于 2019-12-01 12:39:18
问题 I have a database in MySQL, and I want to programatically create all the same tables and fields in FileMaker Pro. I can do this myself using JDBC, but I was hoping that there was already a library that would do this. I looked into DDLUtils from Apache, but I'm not able to figure out how to build it (it uses Maven for a build system and I get a fatal error when I try to build it). 回答1: I wrote the code myself, didn't turn out to be that hard. This is for generating the schema to MySQL; I haven

How can I use JDBC to copy schema from one database to another without using Apache DDLUtils?

荒凉一梦 提交于 2019-12-01 12:14:34
I have a database in MySQL, and I want to programatically create all the same tables and fields in FileMaker Pro. I can do this myself using JDBC, but I was hoping that there was already a library that would do this. I looked into DDLUtils from Apache, but I'm not able to figure out how to build it (it uses Maven for a build system and I get a fatal error when I try to build it). I wrote the code myself, didn't turn out to be that hard. This is for generating the schema to MySQL; I haven't tested for FileMaker but it should be very similar. package com.prosc.db; import java.sql

Filemaker XSL Select Column By Name

笑着哭i 提交于 2019-12-01 11:54:08
问题 I am looking to export from Filemaker using column names (instead of positions). Currently I export the following XSL stylesheet that exports by position with: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fm="http://www.filemaker.com/fmpxmlresult" exclude-result-prefixes="fm" > <xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/> <xsl:template match="/"> <people> <xsl:for-each select="fm

XSLT question. How to pair field tags with data when original XML has them in separate sections?

孤街浪徒 提交于 2019-11-29 23:22:01
问题 I hope I don't lose anyone by mentioning Filemaker. I am trying to turn it's XML export into something usable by SSIS. FM's native XML export has field names and data in separate sections of the same XML file. This lists what I need it to do, what I currently did, and the original FM export at the bottom for reference. I have not seen XML translations before this morning, so bear with me :D. I can post more info as necessary. <!-- What we actually want example --> <?xml version="1.0" encoding

How to change MySQL date format for database?

谁说胖子不能爱 提交于 2019-11-29 07:27:42
We are using a MySQL database with FileMaker. It appears that when FileMaker is reading the MySQL tables, it will only accept dates in the format of m/d/y. Is there any way I can get our MySQL database to change its default format to be m/d/y instead of YYYY-MM-DD? I know I can use the DATE_FORMAT() function on individual SELECT queries but I want to see if I can just change the default formatting. Edit 1 Reading a little more I found you can change the format for an specific field but there is not recommended. you cannot change the storage format you could set ALLOW_INVALID_DATES and save the

How to change MySQL date format for database?

走远了吗. 提交于 2019-11-28 01:12:13
问题 We are using a MySQL database with FileMaker. It appears that when FileMaker is reading the MySQL tables, it will only accept dates in the format of m/d/y. Is there any way I can get our MySQL database to change its default format to be m/d/y instead of YYYY-MM-DD? I know I can use the DATE_FORMAT() function on individual SELECT queries but I want to see if I can just change the default formatting. 回答1: Edit 1 Reading a little more I found you can change the format for an specific field but