Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I have been searching and searching for a solution that I know should be real easy for someone familiar with FMP. This is basically for configuration management for a government network.

I have a database with information about network drops (it only has 4 fields --Drop, Port, Active, Equipment). For example, Drop B-33 is active and goes to Port P-22 and has a CPU connected to that drop. Pretty simple?,

but here's the idea: To have a frameset with a top frame and a bottom frame.

On the top frame I have an image map of the floor plan with green dots representing the location of each drop and they are hot spots. What I am trying to do is when someone clicks on the hot spot, the information about that particular drop is displayed below in the bottom frame.

So basically, all I want to do is display the field contents in a new window when someone clicks on a link.

I hope this makes any sense...Any insight into this would greatly be appreciated.

Posted

You're asking for alot of info - image maps, frames, targets...

Where specifically are you running into trouble and how much have you already done?

Posted

So far, I have the database populated, I have the frameset, frames and imagemap done.

I don't know how to code the html page that displays the field info. I think that I am missing something--none of the data is displayed in the tokens: [FMP-Field: DROP]. I can see the database fine using the instant web publishing feature, but when I select a .html with tokens, I cannot seem to get the custom web page to display the token data. I am not sure if I am calling the db properly:

<INPUT TYPE="hidden" NAME="-DB" VALUE="socsocm.fp5">

Is what I used, then I call a token to display the info: [FMP-Field: DROP]

Unfortunately, I am missing something.

Posted

You don't need to use tokens in this case. Your top frame should have multiple searched based on the 'drop' field with the -format result being displayed in the bottom frame. The searches can be hyperlinks in your image map.

As an example: <a href="http://XXX.XXX.XXX.XXX/FMPro?-db=socsocm.fp5&-lay=web&-format=path/result.html&drop=B33&-find" target="bottom_frame">

Your result.html can be as simple as:

<html>

<head>

</head>

<body>

[FMP-record]

[FMP-Field: Port]

[FMP-Field: CPU]

[/FMP-record]

</body>

</html>

Posted

I am having trouble with the query link on the top frame:

HREF="http://mydomain/FMPro?-db=socsocm.fp5&-lay=MAIN&-format=BOTTOMFRAME.HTML&DROP=B33&-find"

It is not finding the BOTTOMFRAME. I keep getting a 404 error and the path it is dishing out is:

http://mydomain/FMPro?-db=socsocm.fp5&-lay=MAIN&-format=BOTTOMFRAME.HTML&DROP=B33&-find

If I simply path out http://mydomain/BOTTOMFRAME.HTML on the browser, it will find the file, but the data doesn't pull through.

I made sure the BOTTOMFRAME.HTML was residing in the same folder as the other files and the spelling is correct. I then tried to it using IWP to no avail, then I reconfigured to use http://mydomain/ and it is still is not finding the fomat file.

Posted

The web companion and CDML must be accessed via HTTP. You can do this while connected to the internet using the IP, or a domain that will resolve to the host FMP machine. Have you tried using the machine IP? Can you provide more detail on your setup?

This topic is 8605 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.