Jump to content

Newbie question re architecture...

This topic is 7476 days old. Please don't post here. Open a new topic instead.

Recommended Posts

i'm afraid i find the filemaker pro and developer manuals heavy on the obvious and light on the useful, so maybe someone can clarify the architecturesteps needed to publish a custom web site to the browser...

i have a fairly simple database (about 40-50 fields). it currently has a simple layout with a couple of navigation scripts and a couple of calcuation and validation scripts.

the instant web publisher version of the database is pretty but breaks a lot of items (ability to add to lists for instance, and the back-and-forth to the server validation is sooo '90's....) i want to use javascript to make the UI more helpful, and i'm happy to use htmljavascriptcss etc to format the pages.

am i correct in understanding that i can use the "elements" of the database such as the fields the save and editdelete, find features etc via the CDML options?

is this the quickest way to merge custom htmljavascript with the storage of the database at the back end?

is there a reasonably annotated real world example of this anywhere i could use?

what i would ideally like is to take the existing filemaker pro generated web site then update the UI with the items i require as the existing UI is 80% correct, but lacking a few features - i don't particularly want to design the whole thing from scracth - but would prefer to add to what is allready there.

any thoughts on the easiest wayt to go about this??

Link to comment
Share on other sites

Custom Web Publishing uses "Format" files (html/cdml) to present data. These files need to be located in the Web folder of the FM app.

Data is generated by CDML requests, either as URLs or Forms.

A URL request would look like this:


The Format file "mypage.html" could look like this:




[FMP-Field:myotherfield] [FMP-Field:anotherfield]<br>



Format files can be created with any page layout program. You just need to insert the CDML where appropriate.

Some examples (by Unable) are located in the "Samples" Forum.

All the best.


p.s. If you can find a copy of the "CDML Reference" database you will be in a very starting position.

Link to comment
Share on other sites

the concept of format files still puzzles me.

a url request:


this will query the employees database and return the fields on the layout FormView and format them using the results.htm page? is that correct?

i seem to misunderstand the relationship between the layout file and the format file?

If i'm querying and will return an undetermined amount of records how do i create a format file for every possible combination?

is it correct that all html pages in a dynamic filemaker database will be displayed using "format" files?

Link to comment
Share on other sites

RE: i seem to misunderstand the relationship between the layout file and the format file?

There is not such thing as layout file.

The -lay specifies FM layout from which the fields are pulled for web. What is not present on the layout FormView cannot be served to the html form results.htm.

If your layout is only for CDML (and will not be used in future for Lasso middleware) you can have single "web" layout with all the fields from database.

Then you must build html for form display of single record and "list" html form for presenting list of records found set.

CDML for this list will be:


[FMP-Field: Country] - [FMP-Field: Capital]<br>


And you are right that ALL is displayed on web through html/cdml format files.

Link to comment
Share on other sites

OK - one last question now my db is taking shape...

in filemaker i have some pop up menus with the ability to add other items.

i'm using Fields (Update) generated from the CDML Tool to display my value lists, which is fine, but i want to add another value to that list from the web - is it possible??

how do i translate that feature to the web?

Link to comment
Share on other sites

This topic is 7476 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.