cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
andy928
Level 4

How to get a property of selecting a feature

Hi All,

I need to add a condition to a component that enables it when a user selects a certain feature.

I cannot figure out how to define a variable changing (false/true) when a feature is selected.

Can someone please point me into a right direction?

Thanks!
Labels (1)
0 Kudos
(4) Replies
Vijay__K
Level 7

Hi,
Simple associate the component to that feature.
Setup designer view, right click the feature, and associate component.
0 Kudos
andy928
Level 4

Yes I can do it, no problems, but it is not what I need.

Component A is associated with Feature A.
If feature A is selected, Component B should be disabled.


So, what I need is to capture a variable that shows, if Feature A is selected. Then I could add a condition for the component B.

Any suggestions how to do that?

Thanks!
0 Kudos
Vijay__K
Level 7

I see, maybe this will help.

Component B's condition.
&FeatureA=3

This means FeatureA is selected & is being installed 3.

http://msdn.microsoft.com/en-us/library/Aa368012


Hope this helps.
0 Kudos
MrTree
Level 6

FeatureGetData (MEDIA, "Feature2", feature_FIELD_SELECTED, nvResult, svResult);
0 Kudos