简体   繁体   中英

Using OpenElement to open an Attachment with a URL

Trying to open an attachment with this url and it doesn't work. Any idea why?

https://Blah-apps.com/Development/StrongB.nsf/0/(Attach)/0/B3B9D4480BEF667C852588310078E1AE/$File/golf.pdf!%20&OpenElement

Thanks for any ideas

The attachment was originally created on the web and was an embedded object. I then wrote code to move it to a Rich Text Field and that didn't help. The error I get is HTTP Web Server: Couldn't find design note

This is from a note that I pulled together for HCL some time ago listing the issues we had with Domino 11 having upgraded from 9. This might help although it is not clear what version you are on.

Broken Download links for LZ1 compressed attachments. - CS0313452 After upgrading to FP5 customers found that they could not download some attachments. We were able to reproduce this issue 100% and provided HCL with a database. https://eon.focul.net/eon/apps/moc.nsf/xp_f_mod.xsp?action=openDocument&documentId=67BC79B86B06BAFD802582B30042ACFB FoCul determined that this happens to attachments that are automatically compressed with LZ1 even when the database settings do not enable compression.

+SPR# GRHEBVYNW7 - Server - DAOS - Fixed an issue where after upgrading to 11.x, running dbmt -c on DAOS enabled databases results in duplicate DAOS objects being stored. This regression was introduced in 11.0.

The URL syntax affected is the old style https://<>//<>/<database.nsf>>/<>/$FILE/<>.jpg whereas the newer “XPage”style syntax works fine We modified our applications to use the XPages style syntax as a good work around.

This is the XPages url style

https://acme.focul.net/apps/moc.nsf/xp_f_mod.xsp?action=openDocument&documentId=67BC79B86B06BAFD802582B30042ACFB

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM