How to get a workspace add-in to accept parameters at design time
Can somebody tell me how to make a workspace control add-in accept parameters. For example, the built in Titlebar control has parameters for auto ellipsis, padding, and margin.
I thought it had something to do with [ServerConfigProperty], but that doesn't seem to do anything, so I am probably barking up the wrong tree.
My parameter is simply a string.
How is this done?
Having hunted around a bit more, I have found WorkspaceConfigPropertyAttribute in RightNowAddIns.AddInViews, which according to its description should be what I need to use.
The WorkspaceConfigAttribute should be applied to public properties whose values you want persisted in the workspace. Valid for use only on IWorkspaceComponent2 interface Valid only for string, integer and bool types Persisted values for integer types are limited to positive values by the designer