私は 2 つの Notes データベースを持っており、両方とも Xpages で完全に実行されています。住所と連絡先です。1 つはすべてのアドレスを保持し、もう 1 つはこれらのアドレスのすべての通信を保持します。
ここで、アドレス xpage に iframe を配置して、そこから通信にアクセスしたいと考えました。これはすべてブラウザでうまく機能しますが、Notes に切り替えると iframe が読み込まれません。
<iframe
src="#{javascript:getParaValueByKey('CorrespondenceDB')+'/xpCorrespondenceView.xsp?rows='+compositeData.rows+'&key='+compositeData.key}"
style="border: none; width: 99%; height: 400px;" ></iframe>
現在のメモの URL が次のようになっていることに気付きました。
http://127.0.0.1:50136/xsp/DEV!!adresse.nsf/xpAdresse.xsp?documentId=589CBCAEAADE52F2C12579D40020BF4B&action=editDocument
だから私はそれをに切り替えようとしました:
<iframe
src="#{javascript:@Word(context.getUrl().toString(),'!!', 1)+getParaValueByKey('CorrespondenceDB')+'/xpCorrespondenceView.xsp?rows='+compositeData.rows+'&glAdrID='+compositeData.key}}"
style="border: none; width: 99%; height: 400px;" >
</iframe>
上記の src に対して、computedText が表示されます。
http://127.0.0.1:50136/xsp/DEV!!correspondence.nsf/xpCorrespondenceView.xsp?rows=5&key=833C5C1633E34E6CC1256CD20041DBE5
パスとすべてが問題ないように見えますが、それでも iframe を開けません。誰か助けてください。