Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Parameters to feature

  Asked By: Grace    Date: Apr 12    Category: Sharepoint    Views: 1531

i need to send some parameters in to the feature i have developed for
wss v3. any tip?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Kerri Steele     Answered On: Apr 12

In the Feature.xml, you can add a <properties> element.

<Properties>

<Property key="abc" value="xyz" />

</Properties>


Then, in the Feature event callouts, you can get the value:

string xyz = properties.Feature.Definition.Properties["abc"].Value;

Where properties is the SPFeatureReceiverProperties value that is passed
to the method.

 
Didn't find what you were looking for? Find more on Parameters to feature Or get search suggestion and latest updates.




Tagged: