Developer forum

Forum » Development » Code first item field group visibility rules

Code first item field group visibility rules

Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

Can anyone please post a code first example on how to use the visibility rules for field groups inside an item?

https://www.screencast.com/t/MEOoA4RT


Replies

 
Nicolai Pedersen
Reply

Yes, see the API docs:

http://doc.dynamicweb.com/api/html/d6a14638-4580-a1c9-3328-09ce262762f1.htm

BR Nicolai

 
Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

Thanks, but I looked at that one, maybe I'm blind but I only saw this.
[Group("ListFields", LayoutGroupMetadata.GroupCollapsibleState.Collapsed)]

 
Nicolai Pedersen
Reply
This post has been marked as an answer

There is also a GroupVisibilityRule.VisibilityCondition.Equals example here:

http://doc.dynamicweb.com/api/html/d4167b87-69e7-f451-3731-1c25a8498234.htm

Is that the one?

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum