View Complete Post
I am trying to create a List in Sharepoint 2010 using Site Columns and Content Types. It results in creating duplicate fields in the list for the Site Columns used. Here is the details description of what I was doing.
I have created two site columns
<Field Type="Number" DisplayName="Start Coordinate" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE"
Name="StartCoordinate" Overwrite="TRUE" />
<Field Type="Number" DisplayName="End Coordinate" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE"
Name="EndCoordinate" Overwrite="TRUE" />
Then added these to a new content type I
Hope someone can help, have exhausted all googled solutions.
Recently upgraded from Moss 2007- ent to 2010 ent using database attach method, the only outstanding problem is with a custom site column type from codeplex -filtered lookup.
So if the columns are not there where is the reference that is causing the problem and how to fix?.
Have been thru every site and list and deleted the offending columns, but surely this does not have any effect on the site columns mngmt page?
I don't want to remove the type from the 2007 server as this is our working model
When I try to publish an InfoPath form to a site content type I get this message "Updating the site columns failed".
I have not managed to find out why it does that. Any one that has had success with it, or got any smart tips? :)
I am having an issue when trying to add a field to the web.AvailableFields. I am using web.AvailableFields.AddFieldAsXml(...) but it seem
that you need to associate the field with a list. Is it not possible to add a field to the site collection columns using the client object model?
What I am doing is creating a content type and then adding fields to this content type, if the fields dont exist I what to create them but an having a problem doing so.
I was wondering if it is possible to customize the StartDate/EndDate DateTime columns in SharePoint to behave similarly to ASP.Net Calendar controls. That is to say, I would like the ability to filter out dates which should not be eligible for selection.
For example, for certain lists, I would like to only allow the user the ability to select dates which are neither weekends, nor holidays.
Currently, the DateTime column only allows a limited set of criteria for setting date values which is not sufficient for my needs.
Please let me know how to accomplish this (preferably in SharePoint 2007, but a SharePoint 2010 solution is also welcome).
Say for instance if I have process column and a sub - process column, and if I chose a process I want to only show the relevant sub - processes instead of all. I need to solve this by using content types and site columns. Any ideas, or guides on how I can
Can anyone help me with the sample code to programatically add the "SummaryLinks" type column to the Site columns list.
1many duplicate columns in my library
we can see image here:http://images.cnblogs.com/cnblogs_com/kasafuma/repeatcolumn1.jpg2run sql :
select * from AllUserData
where tp_LeafName = 'xxxx.xml' and tpid='1123'
and tp_DeleteTransactionid = 0x
should find only one row,but then can find 7 rows: tp_RowOrdinalrow1 0row2 1row3 3row4 4row5 6row6 &
I have added new site columns to the existing content type using xml,deployed to a sharepoint application as a feature using VS2010. Now my problem is the site columns are not updated in existing pages under site coolection,it is showing only the existing
site columns and not the new site columns. I then tried adding those site columns to the pages library manually,after that it is displaying those columns in pages and i can enter text in edit mode but whenever i save the page it is rendered with some tags
like <span id="msrterangecursor">. It is shown for only new site columns.
Could anyone help with this.