Interests: Developing web and mobile apps
Hobbies: Writing great code that helps people and businesses get stuff done. Love pizza, good music, good friends and beach combing.
Subscribe via Feed
4 responses to XPiNC Hello World - XPages in the Sidebar on a Composite App.
Karsten Lehmann, February 3, 2010 1:37 PM
One way could be a technology that is new in 8.5.1:
You can replace the Notes URL with a reference to an Eclipse preference. And Eclipse preferences can be deployed via policy (or created at runtime by Eclipse plugins).
Another approach could be to use "com.ibm.notes.ComputedNotesURL" instead of "com.ibm.notes.url" as briefly described here:
I don't know if this also works for the XPages Eclipse viewparts.
Matt White, February 3, 2010 12:41 PM
A great article thanks Paul.
In the real world. if we're reliant on replica IDs for the composite app, how should the app get deployed and installed on user's desktops?
Paul Hannan, February 3, 2010 10:09 AM
In the above example, the component I'm using is from within the same composite application so Notes:///0000000000000000/ can resolve itself here.
However, if that same component is used on another composite app then the above component will fail.
The workaround here is to use the Rep ID - e.g. Notes:///555576B900355555/xpagesDemoAppViewColumnPublish.component and not Notes:///0000000000000000/xpagesDemoAppViewColumnPublish.component
So to avoid hitting the same problem as above create all your components for the Component Palette on a blank Composite App.
Thanks Stephan, you're keeping me on my toes ;-)
Stephan H. Wissel, February 2, 2010 11:02 PM
Have you tried, there seems to be a bug when using XPages components with the 00000000000 replica-id when the component is *not* in the root directory?