CS Application Type

rated by 0 users
This post has 6 Replies | 2 Followers

Not Ranked
Posts 5
Points 85
sukdebc Posted: Mon, Dec 11 2006 3:40 AM
I am building one application on top of CS framework. For that i need to create  a new application type. Now i inserted my new application in application table in DB. But i also need to change enumeration- ApplicationType.cs  to insert my new application type. As  a result  i have to build CommunityServer Component dll. But i want to avoid any code change as it will be difficult to upgrade to any latter version of cs. Is there any easy way out??
Top 25 Contributor
Posts 2,115
Points 27,605
MVPs

I don't think it's possible to accomplish this without code change.

In CS2.1 one of community members asked team to add a new ApplicationType enumration for Wiki and they did it.  If you think this enumeration can be useful for others, test your chance and contact team.

  • | Post Points: 20
Top 10 Contributor
Posts 3,323
Points 73,040
MVPs
daveburke replied on Mon, Dec 11 2006 1:57 PM

This is a subject that came up at the CS Developer Summit in September.  No, as Keyvan says you are kind of taking your chances at this point.  The Core Team is aware of this and we may see something in CS 3.0 to address configurable ApplicationType enumerators but no firm word yet.

-Dave

 

  • | Post Points: 20
Not Ranked
Posts 24
Points 540
diegov99 replied on Wed, Feb 21 2007 3:51 AM
Dave: Any word on the ApplicatioType enumerators issue now that CS2007 is on Beta release?
Top 75 Contributor
Posts 316
Points 4,305

Without the code you are forced to look at the dll with reflector.

Looking quickly, it doesn't appear that the ApplicationType Enum was removed... it looks like it was extended even further:

public enum ApplicationType
{
Admin = 0x270e,
Ads = 9,
All = 0x1869f,
BlogRoller = 8,
Calendar = 4,
ContentManagement = 5,
FeedReader = 7,
FileGallery = 6,
Forum = 0,
Gallery = 2,
GuestBook = 3,
Installer = 0x270d,
MyKB = 0x34,
Spam = 10,
Store = 0x1018,
Unknown = 0x270f,
Weblog = 1,
Wiki = 0x35
}

 

CarKnee's Blog
  • | Post Points: 5
Top 25 Contributor
Posts 2,243
Points 44,805
CS Developers

I am not Dave, but I can answer the question. Smile

The ApplicationType enumerator has not been removed from CS2007. We have started planning out the change and it will be part of some larger API upgrades we do as we build out the CMS application and web services APIs. You will see parts of this in 2007.1 and 2007.2 (applicationtype will likely be in .1)

HTH,
Scott

  • | Post Points: 20
Not Ranked
Posts 24
Points 540
diegov99 replied on Wed, Feb 21 2007 12:55 PM

Thanks for the response, Scott. I look forward to the bigger API changes. You guys are doing great work!.

 

diegoV.

  • | Post Points: 5
Page 1 of 1 (7 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com