Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Search not working in particular database

Featured Replies

  • Newbies

I use FileMaker Pro 5.5 Unlimited connected to a FileMaker 5 Server. I set up Instant Web Publishing for my database. When I go to the search link, I get a form that allows to me search for the fields of that layout. After typing in search values, I clicked on the search link but it didn't work. It returned me back to the same search page, but my old search value was still there.

I did this for a sample database that came with FileMaker Unlimited. After clicking the search, a table was displayed with the search results.

Where does the problem lie? Is it in my request URL or in the actual layout? Are there any limits to how many fields a layout can have?

Thanks

You are not getting responses because IWP is wysiwyg. So most people on this forum use custom and know nothing about IWP except to avoid it.

We don't know how to alter that code. cdml gives us control (but not security) over custom.

There have been a few brave souls who post questions about IWP, but if they are successful we never know it since those users never provide answers to questions posited by other IWP users, thus displaying their expertise.

RE: and know nothing about IWP except to avoid it.

That is the best and shortest advice here. I really like that!

RE: Well, seems like everyone here is anti-IWP ;-) I happen to need the "wysiwyg" interface.

Using Instant is like fighting with Mike Tyson and having both hands tied up at back.

The WYSIWYG is nothing special; you can design 1000 times better layout in HTML and have the speed of CDML.

Your WYSIWYG cannot do 99% of things, which are possible in FM/CDML/HTML/JS, combination.

  • Author
  • Newbies

Well, seems like everyone here is anti-IWP ;-) I happen to need the "wysiwyg" interface.

Anyways, my problem was solved when I removed the non-alphanumeric characters from the field names. Things like #, $, ', and / mess it up.

I'm begining to understand a lot of how IWP works. Yes, it's ugly, yes, it's 50K of javascript, but it does work well in IE4.0+ ;-)

Anyways, part 2 of my problem was that I had 40+ fields on that layout. Every blank term on that form was being passed as a paramter on the URL. This generated a URL > 256 characters long -- the http specification doesn't allow more than 256 characters. If you hand-generate the URL it works.

If anyone wants to know what i'm doing to alievate the security issues of IWP without using any 3rd party software like lasso, do what i'm doing.

I'm writing a proxy in java to intercept requests for IWP pages. If its the first request, i present a login. I authenticate this login against an LDAP server over SSL. Here you get a menu of the different layouts to view. The user selects his layout. Then I generate a request to IWP to display the particular record/layout I need to the user. Viola, the user sees everything he needs to see. The IWP server is hidden behind a firewall with no access to the internet besides the proxy. The only access to it is through the proxy which verify the security.

So, now I have security, authentication, and wysiwyg automatically -- just by using a proxy. Wonder why other people haven't thought of this?

Min

  • Author
  • Newbies

quote:

Originally posted by Anatoli:

The WYSIWYG is nothing special; you can design 1000 times better layout in HTML and have the speed of CDML.

Your WYSIWYG cannot do 99% of things, which are possible in FM/CDML/HTML/JS, combination.

You may be able to design better in HTML, but my job requires that I show the user a read-only version of a layout that my employer uses. The layout MUST be identical to their forms. They have about 30 forms they want online, and they change over time. Using a proxy approach lets me code only once, and all the layouts are treated the same way. And you must take into account development speed. This was done in about 2 weeks, what would have otherwise taken months.

--min

Thanks -min for your posting. That is the first intelligent information I can recall being posted on this forum about IWP including a way in which to deal with it.

Perhaps it will be of benefit to others.

SIMPLIFY ...

Keith

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.