Jump to content

downloading linked/embedded objects


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

Recommended Posts

  • Newbies

Is it posible to set up FMP w/Web Companion so people can download linked documents? I'd like to set up a library of reference docs and have folks sort by title, category, filetype, etc., then simply download the object (Word, PPT, Excel, PDF, whatever...)

Thanks for any advice,

roy

(FMP4.1 running on a Windog)

Link to comment
Share on other sites

Sure... put all the reference docs up on a web server. Make your FMP database into a catalogue for the docs (ie each record has title, author, etc) plus a field with the url for each. People cna then search the database, when the want a doc they click on the link and download it.

Link to comment
Share on other sites

  • 4 months later...
  • Newbies

I am not far at all into custom web publishing.

What we want to do is: We are running a project where teachers at our university collects and categorize links about language training resources on the net. We want to use a web interface since also other universities are involved and not on the same LAN. When the teachers find an intr. page he/she cuts from "address" in the web browser and paste into our FM5 database published through web companion.

When someone then want to use the database he/she has to cut and paste the URL back to the address field in the web browser. It would be more convenient if he/she just had to "click".

Is that possible without to much programming ? Thanks in advance on any help

Bengt

Link to comment
Share on other sites

An example of the -linkrecord tag.

This example uses a database of sound recordings. This represents code on results.htm page which was accessed by a Link Action utilizing an Exact Search of Two Fields which searches a specified category of music (from a value list) and only those titles which are currently available in a the status field (also a value list, values: in, out).

The [linkrec] is anchored with the title and when clicked, displays the song names of that album in a repeating field on results2.htm

Parameters: -db="dbtwo.fp5", -format="form"

Field names in the table: "category" (jazz, rock, etc), "artist" (name), "medium" (CD, LP, etc), "title" (album name)

This is the basic code

<p><center>

<table border="1" cellpadding="5" cellspacing="0" width="88.7%">

<tr><th align="center" colspan="3">[fmp-field: category]</th></tr>

<tr><td align="center">Artist</td><td align="center">Medium</td><td align="center">Title</td></tr>

[fmp-record]

<tr align="center"><td>[fmp-field: artist]</td>

<td>[fmp-field: medium]</td>

<td><a href="[fmp-linkrecid: format=results2.htm]"><[fmp-field: title]</a></td>

[/fmp-record]

</table></center></p>

I hope you find this useful. It probably will not answer your question directly, but may give you some ideas of how to solve your particular problem.

Peace

Keith M. Davie

Link to comment
Share on other sites

[FMP-LinkRecID] is used to change to specific records in a shared database. The original question related to linked documents -- downloading files. For this the LinkRecID and other CDML tags are not applicable.

Link to comment
Share on other sites

  • 1 month later...

It seems I have the same problem as Brengt. I have a database containing full URL's. I use FM Web Companion and the url's are not clickable. Where do I have to put "<a href="[FMP-field: FIELD_NAME]">[FMP-field: FIELD_NAME] </a>"? I didn't build any template, I just use the Web companion of FMP so i didn't written any code. What do I have to do exactly in my db to have the url's clickable online?

Thanks in advance.

B.

Link to comment
Share on other sites

FMP *is* a sultiable tool, it's just that you'll have to do a bit more that turn on instant web publishing -- custom publishing. Look in the FAQs forum for some hints and tips.

Link to comment
Share on other sites

Hum, does it mean I'm using the wrong tool? Isn't posible to make hyperlinks clickable in setting up the right things in your database and using FMP Webcompanion? And if it's not posible, what should I use to make it clickable?

FYI I just started a day ago in trying to publish db online : I'm a novice in this, but I would like to learn this very quickly. I couldn't find any interesting info about this subject in the help function and in the book of FMPro. I hope to find the info through this forum.

B.

Link to comment
Share on other sites

I read that I have to put the following tag <A HREF = "[FMP-Field: URL]"> [FMP-Field: URL] </A> in the HTML page. But how do I have to do to access the html templates of FMpro 5.0? Where can I change the html codes?

Link to comment
Share on other sites

i use notepad to write all my HTML code (which is what you need to do to use custom web publishing) some people like to use HomePage, from what i hear it makes it easier. i dont know though. i have always written HTML code with notepad.

Really any html editor will do it, however you should avoid Microsoft's Frontpage, it tends to mangle CDML code (which is the code put into the html code to make it work with the database).

Link to comment
Share on other sites

Perfect. I just wrote some cdml tags in homesite and it works (not all of them). Can you tell me where I can find the basics (and more experienced) of CDML tags?

I already know how to make the link to a db, the form and the needed layout. I would like to read more about how to publish info from the databases. So if you know a website that describes the most used cdml tags, I'll be pleased to learn them.

Thanks in advance,

B.

Link to comment
Share on other sites

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