Jump to content

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

Recommended Posts

Posted

I have a database with a portal which I have published using Web Companion (WC) on V5.5v1. Hassle is that it doesn't display the related record and merely shows the first record in the related file. I have another database that works perfectly well with WC in this respect and all of the settings are identical.

When I select the "Go to Related Record" in the faulty files I get the following:

http://myIPaddress/FMRes/FMPJS?-db=Test%20Comms.fp5&-layID=1&-token=25&-max=1&-format=formvwcss.htm&-mode=browse&-findall

When I try it in the files that work I get:

http://myIPaddress/FMRes/FMPJS?-db=Maintenance%20Log%20Items.fp5&-layID=2&-token=25&-max=1&-format=formvwcss.htm&-mode=browse&-findall=&-RecID=17

i.e. the RecID in the one works is attached at the end of the URL. I have looked at all of the portal/relationship settings including button alignment in the portal and they identical. Any ideas?

Thanks - Ubo

Posted

I'm not following this. Yes I see the difference in the generated URL. But you wrote, "When I select the "Go to Related Record" ..." I am guessing that "Go to Related Record" is the phrase on your page which is clicked since I do not see this as a cdml tag in the cdml reference db which I am using (5.0). Or is this tag new to 5.5? If it is not new to 5.5, what is the code behind the phrase you are clicking?

Posted

Thanks, this is a script enabled step in 5.5, the "Go to Related Record" button definition step is enabled in 5.5 but not in 5.0. In both cases I am using a simple button definition rather than a script just in case that was the issue.

Posted

Oh, okay. That is a ScriptMaker step, also in 5.0.

Are you using IWP or CWP (it sounds like IWP).

If you are using CWP you can try the fmp-linkrecid tag.

If you are using IWP, I really can't help you. IWP is wysiwyg.

Posted

Keith

Fraid to say I am using IWP although the more I look at this the more I realise I am going to have to bite the bullet and work with CDML. Any good software tools to help with this on a PC?

Thanks

Ubo

Posted

I learned html, so I write from scratch. Others have suggested (I think) GoLive, or is it DreamWeaver. I can't recommend since I don't use. FMI no longer supports Claris Home Page.

The cdml tool is pretty useless, imo, but the cdml reference database (get it at FMI's website) is invaluable. Also, under Sample Files I've offered an example. Currently not posted - have been unable to get it load. But see the thread for my email add. and I'll send you a copy.

Also visit my site.

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