Link to home
Start Free TrialLog in
Avatar of varvoura
varvoura

asked on

Lotus Notes - Open File Resource on the Web

I am trying to open a file resource on the web for a ms 2007 powerpoint

the powerpoint file is already in the lotus db

This is what I am using, but for some reason is not working

http://www.servername/path/dbname.nsf/filename.ppsx?OpenFileResource

What am I doing wrong?

Thank you all in advance

Varvoura
ASKER CERTIFIED SOLUTION
Avatar of cezarF
cezarF
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of varvoura
varvoura

ASKER

Hi cezarF,

The problem seems to happen with MS powerpoint 2007

Do you have powerpoint 2007 installed on your PC?

The file extension is ppsx?  Is this a typo?
no, its the new extension of powerpoint slide show 2007
So powerpoint 2007 now saves as pptx(presentation) and ppsx(slide show)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@varvoura

sorry I don't have powerpoint 2007 installed.

>>The problem seems to happen with MS powerpoint 2007

do you mean that it is working when you use other files?
OK, I'll try to explain below

In the view's first column, I have the code to open the file resource as follows:
(the MS. PP 2007 extension is pptx, so I have changed it in my code) and here it is

http://www.servername/path/dbname.nsf/filename.pptx?OpenFileResource

When I click on the link, I bring up the normal "open" dialog box open, when I click on "Open" it looks as if it is openning the presentation but then it opens  a blank presenation with "security authentication key" on the first slide but with the same name as the presentation I am trying to open

Weired thing is that,

When I click on "Save" in the dialog box instead of clicking "Open" it saves it to hard disk and on completion, I click on "Open" and the presentation opens correctly

Prior to using OpenFileResource, I had the presentation attached in the body of the form and I was calling OpenElement instead. This worked fine on MS. PP 2003 but it doesn't seem to work MS. PP 2007

Another silly thing happens

1st time the presentation is click on, it opens with the security authentication key on the first slide
2nd time, it tries to open, it bring up some dialog box but still unable to open the presentation, same as case 1
3rd try, I get the "Open" dialog box and it seems to open fine

Very strange
And the file launches fine when i attach it in the notes form and double click to open it

Thx
It seems to be an permission or access problem.

When I change the "Anonymous" Entry in the ACL to Reader, the presentation launches without any problems on the web

Now, I can't enable Anonymous access in the ACL, I must keep it at No Access.
Anyone has another solution?

Thanks
try to tick the "Available to Public access users" options in the security tab of the File resource property and grant Anonymous with "Read Public documents" and "No Access"
Did all that, it didn't work

I have even tried the following:

gave Anonymous in the ACL reader access and restricted viewing of docs using readers field.

Problem is that this will log anyone by default assuming they're anonymous without having to log on and no one will be able to view the docs

Any other ideas will be appreciated
The problem has been resolved

I changed the Anonymous Access to reader, but restricted the viewing/reading of the documents using a reader field. This worked like a charm

Thanks everyone for your help

Varvoura