cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
andy928
Pilgrim

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
Highlighted
Vijay__K
Pilgrim

Re: How to get a property of selecting a feature

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

Re: How to get a property of selecting a feature

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
Highlighted
Vijay__K
Pilgrim

Re: How to get a property of selecting a feature

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
Highlighted
MrTree
Pilgrim

Re: How to get a property of selecting a feature

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