Jump to content
Server Maintenance This Week. ×

Newbie need help to display images and pdf in IWP with supercontainer


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

Recommended Posts

  • Newbies

HI

 

First I'm only a  Network and system admin but  a total newbie in terms of IWP , file maker and  have been assigned the following task

 

We have the following setup. FIlemaker  Server 12 Adv running a DB with IWP

 

I have external users accessing the DB without any issue. But I need them also to see images and pdf in the DB

 

I'm running the java applet version of supercontainer for the time being and once everything works we will purchase the full version

 

I did  go through the docs but its quite confusing for me :sad:

 

In my sample DB, im inserting a web viewer and then defining  a custom web address ex http://localhost.local:8020/SuperContainer/Files/my/path/logo.jpg. Its works even there is a frame around the picture but when I do same for the pdf  http://localhost.local:8020/SuperContainer/Files/my/path/a.pdf.  Both the pdf and jpg are located in same folder

 its just display the error http status 404

 

I would be grateful if someone could guide or advise me, on a better way to get this to work

 

 

The plan is to have a folder on the local server in ex e:Pdf and have all pdf stored there and then user supercontainer to link to them

 

 

cheers

 

Fred

 

 

 

Link to comment
Share on other sites

Hi Fred,

 

SuperContainer hosts files in a "one file per folder" structure. The reason is so that SuperContainer doesn't deal with the name of the file but rather the directory where the file sits. So your custom address should not contain the filename, but rather a path to the folder that contains only the file you want. If there is more than one file in a folder path, SuperContainer will only return the first file that it finds.

 

However, I don't get a 404 error when trying to access another file in a folder holding two files. Rather I just get the first file that SuperContainer finds (usually alphabetical order). Your getting a 404 error may be related to a different issue.

 

Unfortunately, because of the way SuperContainer handles files, you will not be able to store all PDFs in a folder and link to them with SuperContainer. They must be in a "one file per folder" structure for SuperContainer to function properly.

Link to comment
Share on other sites

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