An XML element is everything from (including) the element's start tag to (including) the element's end tag.

learn more… | top users | synonyms

3
votes
1answer
8k views

Custom list definition - fields in Elements.xml and Schema.xml

I'm creating a custom list definition in SharePoint 2010 by following this article. The tutorial is OK and it works. There is a thing that I don't understand though. Why do I need to insert the ...
1
vote
2answers
3k views

Can't change title field display name

I'm using visual studio to develop custom content type, which uses Element as base content type. I'd like to change title field's display name, by doing so: <FieldRef ...
2
votes
1answer
2k views

How to add Two java script file in element .xml

I am using 2 button in custom tab and each button has a .js file to load . Could you please say me how to use 2 .js file in the same element .xml and here is my code for element xml <?xml ...
6
votes
4answers
361 views

What is the recommend way to share a single element between multiple features?

In my Visual Studio 2010 SharePoint Project I have a single SPItemEventReceiver that is contained in its own Elements.xml I have 2 site collection features that are mutually exclusive they are never ...
1
vote
1answer
212 views

Adding links in the CEWP

The following code is adding extra %22 after the aspx which cause link to fail. XmlElement p = new XmlDocument().CreateElement("p"); p.InnerText = @"<table style=""width: 100%""><tbody> ...
6
votes
3answers
3k views

Multiple values of RegistrationId attribute in CustomAction tag

I wonder is there any ability to set not only one but multiple values of RegistrationId in CustomAction tag. I have an elements.xml entry like this: <CustomAction ...