November Happy Hour will be moved to Thursday December 5th.

Restore removed rooms

Vote:
 

Hi

We have a issue with forum admins doing an accidental deletions of some rooms. There is however no ways of unremoving these via the forum admin tools. (No recyclebin). The Community API does not support quering removed rooms anymore (RoomQuery.Removed is flagged as obsolete). The only way of restoring these room is doing some manual hack in the database.

NB The build-in forum room tool sucks. Somebody please fix it. The "Update room tree" button creates a lot mistakes for our customer

#45252
Nov 03, 2010 14:27
Vote:
 

Hmm. The removed query property still works. it just interferes with my compiling. made an hack with a derived roomquery class to avoid compiler noise. :p

 public class RoomQueryWrapper : RoomQuery
        {
            public new BooleanCriterion Removed
            {
                get
                {
                    return GetCriterion<BooleanCriterion>("Removed");
                }
                set
                {
                    SetCriterion("Removed", value);
                }
            }
        }

#45256
Nov 03, 2010 15:40
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.