0

I have created a composite application containing a view and an xpage. when the user select a document I publish the unid of the selected document to the xpage. this works fine using a component.

Now, in addition to this when I click an action in the view I want to publish another unid value to the xpage. so I do this using Lotusscript and the following code.

Dim s As New NotesSession
Dim pb As NotesPropertyBroker
Set pb = s.GetPropertyBroker()
Call pb.setPropertyValue("Unid","Test")
Call pb.Publish()

When I run this code I get the following error

"Property not defined for this workspace"

enter image description here

any ideas?

Thomas Adrian
  • 3,543
  • 6
  • 32
  • 62

1 Answers1

2

You need to create that property in a WSDL file. Luckily the editor in Domino Designer shields you from the complexity. They are Composite Applications - Wire properties.

What the view publishes is inherit. What you publish needs to be defined as Wire property.

stwissel
  • 20,110
  • 6
  • 54
  • 101