I tried the Webpart to API option and it working well. very nice approach to get data without writing a code.
Forums related: I go to modules in Kentico and I found all classes are set to NO in "Is customizable" column. Is that something by default or we can change it.
Also I tried to clone the Forum module and got following error.
[DataConnection.HandleError]: Query: INSERT INTO Forums_ForumRoles ([ForumID], [RoleID], [PermissionID]) VALUES (@ForumID, @RoleID, @PermissionID); SELECT SCOPE_IDENTITY() AS [ID] Caused exception: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Forums_ForumRoles_RoleID_CMS_Role". The conflict occurred in database "Kentico10", table "dbo.CMS_Role", column 'RoleID'. The statement has been terminated.
I have no idea how to fix this.