View Complete Post
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 &
This article describes how to generate documents that contain data stored in SharePoint lists. The example demonstrates how OpenXML content controls can be defined to capture list data in a Word document and how LINQ to XML can be used to query the lists. The documents are generated from a SharePoint Web Part.
MSDN Magazine October 2009
I've got an External List and I want to create a Site Column, which is Lookup to a column in my external list. If I tick any of the columns in 'Add a column to show each of these additional fields' and click OK i get the following error message:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.SPBusinessDataField.CreateSpFieldForBdcType(String bdcName, Boolean hidden, Boolean readOnly, Boolean idField, SPAddFieldOptions op) +809
Microsoft.SharePoint.SPBusinessDataField.AddNeededSecondaryFields(String wssNames, String oldNames, String newNames, SPAddFieldOptions op) +315
Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op) +240
Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol) +759
Microsoft.SharePoint.SPFieldCollection.Add(SPField field) +61
Microsoft.SharePoint.ApplicationPages.FieldNewPage.BtnOk_Click(Object sender, EventArgs e) +46
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
I have an editing web application with multiple site collections (only accessible internally on a dedicated port), and I've one public facing web application (on port 80). Now I want to create several host-named site collections in the public facing web
application (to limit the number of web apps in the farm), and then use content deployment jobs to push the content from the site collections on the editing web app into these host-named site collections.
Does anyone have any experience with this?
Do you see any issues?
We created an application that leverages on SPExport and SPImport.
We noticed that when we export/import site, the links on the word documents pointing to same application on the target site seems to get truncated url, the url parameters (ie ?param1=a¶m2=b) are truncated.
also the host header seems to get updated ie(http://my.shop.com/path1/path2 turns to like (http://hostheader/path1/path2) which is causing broken links.
need some help/advice/ suggestion.
Thanks a lot
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
When using sharepoint services with word 2003 on an XP machine, everything works fine. We bought some new computers where we now have windows 7 and office 2007/2010. These work perfect too. Even the 64-bit computers.
We are very happy with the new office version, so we decided to upgrade the entire company. As a test, we upgraded 1 PC. But this is not working. So we upgraded office, later we reinstalled it. But nothing helps. This is the problem: I surf to the document
click it to open it, and then Word hangs. "contacting server". This is not always the case, sometimes it works, sometimes it doesn't. This even with the same document.
We would really like to upgrade to office 2010 entirely. But we're not going to buy licences we cannot use. Anybody got a solution?
How can i stop the uesr to enter the offencive and restricted words in the sharepoint blog site ?