seedcode / fmxj Goto Github PK
View Code? Open in Web Editor NEWA JavaScript approach to FileMaker Custom Web Publishing
License: MIT License
A JavaScript approach to FileMaker Custom Web Publishing
License: MIT License
I have a layout I want to use. It has fields from a portal and a related record. I want the related record to just give the first record as it wold on the layout and the portal data to appear as a child object. When I try this the related record without a portal gets added to a related object with each char as a different value.
so I was getting an error if the portal I was trying to next was empty.
I just added if (row.getElementsByTagName(colTag)[i]) to the function valueByIndex(i) that just skips the function if the portal has no records. Not sure if there was a better way but It appears to have done the job. Maybe It would be better to remove the whole parent element?
I came across this error where I had 2 portals on the same layout. The resulting nested portals appeared to have merged data. I first thought it was copying the data over the array. But after I made the field names unique in each portal I was able to discover that it just adds to the array of field names. I am trying to figure out how to have it clear the list each time.
Hi,
First of all, great job, this is a nice and straight forward implementation of the FileMaker XML engine.
One small remark (something I struggle with as well to find the best way to manage this), is: I think it is a bit dangerous to manage the database access from within the javascript code. I would move that part to the PHP side.
Kind regards
Andries
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.