features

Favourite Features of VS 2010

With the general public release of Visual Studio 2010 Beta 2 today, this latest version has created a lot of hype and interest. Indeed, the opinion I've gauged is that VS 2010 has resolved a great deal of the minor flaws left over from previous versions, as well as added some particularly useful new code editor and project development t...

CustomAcion (NewMenu) in a specific user-defined list

I like to create a CustomAction an add this one to the NewMenu of a specific list. <CustomAction ... RegistrationType="List" RegistrationId="100" GroupId="NewMenu" Location="Microsoft.SharePoint.StandardMenu" ... > </CustomAction> This code snippet adds the CustomAction to all custom-lists (100). What if I want a...

Sharepoint : Prevent a feature from activating on a condition..

I made a feature that creates a list with some default data (with a list definition and all required XML) I observed that when the list already exists, the data will be inserted again in the list... So I tried to make a "FeatureReceiver" to prevent the feature from creating the list if it already exists, but the base class of FeatureRece...

Determine at runtime if Windows CE operating system is built against a particular processor type (eg. ARMV4/ARMV4I/ARMV4T)

Is there a way to determine if a Windows CE operating system is targeted against ARMV4 or ARMV4I or ARMV4T. I am aware of the IsProcessorFeaturePresent() API call on coredll however as far as I can tell, it only allows you to determine the presence of the thumb instruction set. What I really want to detect is if the O/S is built with ...

Does any version control system have a "persistent local only change" feature?

This question occurred to me whilst playing around with git, but I'll ask the general case... I just thought of a feature which might be nice for version control, but I don't know if it exists or what it is called. I want to call it persistent local changes. Say I have a config file in svn, which has lots of useful non-recreatable stuf...

Adding web page to blank sharepoint site definition

I am totally new to Sharepoint (2007) so please bear with me. I would like to automatically create aspx pages when a new site is created. These pages will be linked to through tabs which will be defined by a master page. I do not have a custom site definition and was planning to apply feature stapling to the out of the box blank site d...

Best practices: how to implement an invitation system in Zend Framework?

I've built out most of the functionality, now I'm getting stuck... I am creating a private, web application that has an invite only registration system. An admin user sends an email invitation to a user, the user clicks the link, and takes them to a page where they can create an account that has been linked to their email address. When...

Deploy a feature to a single sharepoint site / How to select a single sharepoint site

I'm trying to deploy a selection of features and to do this I need to select the target site and then use: objWeb.Features.Add(new Guid({guid of feature})); my question is how would I select this site, all the help i've found creates the site using its constructor and then keeps track of it, where as I want to open an existing one. Th...

Creating and updating site columns in MOSS publishing site

I have created a feature, a publishing site, in Visual Studio to MOSS - this feature contains a masterpage, some pages, some site columns etc. I have also created a site collection based on my template. I have several times updated my mastepage and pages with succes. Now I want to update my site columns, adding some columns, but these c...

update page templates with new site columns in MOSS publishing site

I have created a feature, a publishing site, in Visual Studio to MOSS - this feature contains a masterpage, some pages, some site columns (grouped to match each page) etc. I have also created a site collection, some sites and pages based on my template. Now I need to update some of my page templates and make the changes affect the exist...

Text editor with function calls references

In the DOS era I used a text editor (forgot the name) which had a outstanding feature. Whenever i was over a function call, hitting a key combination it took me to the function definition. Also, when I was in the function definition, I was able to see all calls to that function. Something like This function is called from: function1, ...

Sharepoint - One feature that creates more than one content type?

Is it possible to create more than just 1 content type with just one feature in Sharepoint? I've a got a project where a couple of content types inherits from another one and I have 5 features just creating those content types. ...

Has a bug in your software ever turned out to be a feature ?

Has this ever happened to you? What was the bug or situation which was ended up becoming a feature? What was your experience with this? ...

What features should a robust, scalable, ... and expandable PHP Framework be composed of?

What are the features (e.g. cookie, session, template, database handling) should a ... robust scalable flexible OOP-compatible MVC expandable ... PHP Framework be composed of? and what other features would be great for any developer in a PHP framework? I've been looking a lot at frameworks such as CakePHP, Symphony, and so on.. thei...

Cannot get FeatureSpec structure to show up in the output when combined with JUnitSuite

I am trying to use Scala's capabilty of running a class with either JUnit or ScalaTest. I took the example given for FeatureSpec and combined it with the example using JUnitSuite. I am having a problem generating the given/when/then output of Scalatest.FeatureSpec structure in the output (console) when combined with JUnitSuite. Any and ...

how are wpf and silverlight different?

can anyone tell me what is the difference in wpf and silverlight, what features has been added and removed from wpf in order to get silverlight. ...

Create a List (url links) and deploy it as a feature

Hi All, I'm very new to SharePoint, so apologies if this sounds a little basic. I want to create a List in SharePoint that is just purely URL links, but then make it available to every site collection that we will create. Once this list is created, I need it to display in a webpart (like that standard 'links' webpart). I guess I will...

Deploy Web part as a feature

Hi all, I have a web part dashboard.cs which render some HTML according to records in a list. No I have a site definition created. I want to integrate this web part in my site defination as a feature so when I Build my project with the help of install.bat i want to install this feature which will deploy this web part on respective site....

What is called defer-node-expansion in XML?

Hello All, What this feature "http://apache.org/xml/features/dom/defer-node-expansion" does? i have read about this feature. But was really unable to understand what will happen if this is set to false. Can anyone come up elaborately on this as i don't find any other link that explain to the ability i understand. ...

Sharepoint feature environment-dependant (UAT, PROD) properties

Hi all I'm developing a feature for MOSS which stores some environment-specific config data in feature.xml (like connection string). I would like to have a separate .properties file for each environment and make it automatically substitute appropriate values to where needed (like feature.xml) while building. Is that possible and what t...