Does this work for anyone? Opening notes document on pages in a composite app

Have a look here: IBM Developer

Niklas describes here how to create a page in a composite app which displays a Notes document based on it’s form.

I tried that, but it does not work here. I have a form with the alias “test” and a CA page with the alias “test”. On the page there is a NSF compontent which points to the form “test” and has the com.ibm.notes.isDocumentPlaceholder=true property set.

But the documents having the form “test” do not open inside the CA. They open in the classic way.

Does this feature work for anyone? What am I missing?

Subject: Do you mean from a view

Just to clarify, do you mean when you open a document from a view that is in the comp. app. page?

Yes, I have gotten that to work.

Howard

Subject: yes, that is what I want to do

yes, that is exactly what I mean!What did you do to make it work?

Subject: Did you follow all the steps at the website

I got this working and we cover it in our Notes 8 Application Development Upddate course.TLCC Course Details - Notes Domino 8 Application Development Update

A short synopsis:

For the page that holds the view add com.ibm.rcp.useClonePages property and set it to true.

For the page that holds the form(s), add the form alias to the Page Alias box of the page properties. You must use a form alias. Your forms can’t just have a form name, they must have FORMNAME|FORMALIAS for the form name in Designer. The alias can be the same name as the form.

Add a component (Notes form is good) to the page that will hold the form. This is a placelholder and the document you opened from the view will open here. Use the com.ibm.notes.isDocumentPlaceholder property here (and set it to true)

That should do it.

Howard

Subject: does not work here :frowning:

I have exactly all the steps you describe - but does not work here.

Subject: I had one error in my post

A short synopsis:

For the page application that holds the view add com.ibm.rcp.useClonePages property and set it to true. (Sorry, the useClonePages property is set in the application properties, not the page. Click on the drop down menu to the right of the Page Navigator and edit the application properties to add this.

For the page that holds the form(s), add the form alias to the Page Alias box of the page properties. You must use a form alias. Your forms can’t just have a form name, they must have FORMNAME|FORMALIAS for the form name in Designer. The alias can be the same name as the form. If you have more than one form in your view, separate the alias names with a semi-colon, no spaces between them.

Add a component (Notes form is good) to the page that will hold the form. This is a placelholder and the document you opened from the view will open here. Use the com.ibm.notes.isDocumentPlaceholder property here (and set it to true)

I just tried this again in the 8.5, public beta 2 and it works fine. A nice change in 8.5 is that you can use a button/hotspot etc. with the @command FileCloseWindow to return back to the first composite page that holds the view.

Howard

Subject: YES! It works!!! Thank you so much!

Subject: *Glad to hear that, sorry about the wrong info in my first post

Subject: Need suggestion.

Hi Howard,

I have a form with computed subforms. Based on employee type I use to open the subform.

If it is single form, I am able to achieve this using your post. Would you please provide me some idea on how to do this. I am totally new for this CA.

Thanks and Regards

Ravindra

Subject: and com.ibm.rcp.useClonePages is not mentioned in the webpage…

there must be something else I’m missing :frowning: