Vulnerability in EPiServer.Forms
Reading Helenas topic on querying for certain topics in certain rooms, got me to thinking on how I'm going to solve this cunundrum:
My customer wants Forums to be visible or hidden in a solution. I see that Room has a Concealed propterty, but not Forum. This leads me to think i need an Attribute on Forum that is a boolean.
Can I then use
ForumQuery fq = new ForumQuery();BooleanCriterion sq = new BooleanCriteron();sq.Value =false;fq["ForumIsVisible"] = sq;
ForumCollection VisibleForums = ForumHandler.GetQueryResult(fq);
And then do the same query for hidden Forums where sq.Valuse = true; And put it all in a nifty usercontrol, and use it on different places in the solution.
Yes this would be possible. Or you you could use just one Forum and have several levels of rooms instead and display the root level rooms as forums instead of rooms
Don't exactly get what you mean... Nested rooms are supported by default and they will show up in the administration. But on the site you must display them yourself by getting child rooms of rooms.