cancel
Showing results for 
Search instead for 
Did you mean: 

can we put a link to PDf file in MAM application ?

Former Member
0 Kudos

Hi ALL,

can we put a link to PDf file in MAM application ?

Regards,

Vipin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello vipin,

if your files are located under your application folder,

i.e. accessible to public, you can put a link into your

MAM's jsp. for example if your application is deployed as

MAM25, you can put your files under this folder or subfolder.

if your file absolute path is

<MI_DIR>\webapps\MAM25\pdfs\MyPDFFile.pdf

you can put a link on your jsp page that will point to

the file's relative path. if your jsp context is at MAM25

you can just put a link like

<a href="pdfs/MyPDFFile.pdf">MyPDFFile</a>

in your jsp or html code.

hope this helps.

regards

jo

Former Member
0 Kudos

Hi jo,

I tried this in PDA. But , its not working .

I tried to open a word document , but i am unable to open it .

i was able to open a excel file but not .pwd file.

any idea , what's happening ?

Regards,

Vipin.

Former Member
0 Kudos

hello vipin,

did you get any error messages?

jo

Former Member
0 Kudos

Does your PDA have the required viewers for the PDF file?

Former Member
0 Kudos

Hi,

Is ur problem solved? I think the problem is only because you do not have a acrobat reader client on your PDA.

If ur problem is solved please update the forum

Thanks

Satya

Former Member
0 Kudos

Hi JO .. satya .. and everbdy,

Apologies for not updating the Forum. I was travelling soemwhere , so couldnt get connected to internet.

Regarding Topic,

yes, you guys are correct , i dont have a PDF Viewer in my pocket pc , so PDf files wont open .

So, i started testing -- opening pwd files in Pocket pc via MAM. but it is also not happening:(

JO , i didnt get any kind of error when i tried to open to document via < href > in MAM .

i also checked that document might have opened but it is not in Foreground . So, i went to memory and checked the opened programs/files . It wasnt there.

Regards,

Vipin

Former Member
0 Kudos

hello vipin,

what are you trying to open? PDF or PWD? they are of different

format. for PDF you need an acrobat reader for PPC, while

for the latter one, it is a PocketWord.

i havent tried this in PPC but perhaps might worth a try.

instead of putting a link as http://localhost. try using

the file://<absolute path of your file>. you can use your

servlet context to get the absolute path for you and append

your file logical path from your context.

regards

jo

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes you can, since MI Client (which MAM sits on top of) is basically Internet Explorer in disguise.

However, once you open the PDF, you cannot go back to the MAM (since there are no links or menu buttons to do that). I would recommend linking to the PDF via an IFRAME inside a MAM page, so that you still have the MAM menu system.