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"
any ideas?