I am happy to present a pretty comprehensive overview and explanation of the process of defining a shared parameter by Scott Conover.
Question: What do I need to do to programmatically create a shared parameter? I would like to set the
SetAllowVaryBetweenGroups flag on it.
Answer: You create the details needed to define a shared parameter from
Existing shared parameter file entries can be read to become an
ExternalDefinition in your code, or you can create a new entry in the current shared parameter file using the