Hi,
I want to use a customproperty that is used in most (but not all) entities. If this customproperty is available, I want to add a public property to the entityBase.
I want to use this code:
<[Foreach CustomProperty Entity]><[If StringValueEquals CustomPropertyName "MyProp"]>
''' some lines of code
<[EndIf]><[NextForeach]>
The problem is that this doesn't work, because CustomProperty cannot be used together with StringValueEquals, like specified in the SDK.
What's the right way to implement this?
Edit: I see it's the same question as this: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=2675, is the option already added? (i'm using Template Studio v1.1.06212005 Final)
And to give an answer to your question "Do you have more things you'd like to add to that if statement, so I can add them all at once": at least all things that can be looped using Foreach