Generation of feature-, field- and content type ids as static class

Apr 7, 2011 at 2:00 PM

Just an idea that came to my mind ...

Often inside the code you need to directly access the field-GUID (or name or the content-type id). So one would be more productive if the available ids would be generated into a "resource class". So you can access the field like so

// Access via GUID
// Access via StaticName

// Example for ContentType

Perhaps this could be achived via T4 templating within Visual Studio or during creation of Site Columns / ContentTypes.

Any suggestions?

Apr 11, 2011 at 5:56 AM

Good idea. We can provide this Resourcefile very easy. I will put in on the list for the next release. :)

Thank you!

Apr 19, 2011 at 3:00 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.