List content type columns don't show new names after resource files were changed
Hello,
we ran into a problem, that we're not able to figure out at the moment.
We have a site collection with site columns and site content types defined and created with
features ant their XML files. All display names are retrieved from resource files. We do have
several subsites, that have predefined lists also created from features and their corresponding
XML files. They use inherited versions of these site content types as list content types with
their columns inherited from the site columns.
We had some changes within the resource files and never ran into a problem up to now.
We changed the display names of some of these columns within the resource files. After
these changes the site columns, site content types and list columns show the changes
as planned. Unfortunately the columns of the list content types do not display the changes.
They still show the old name. If you try to alter the old names manually the new name is
shown within the form, but you're not able to save it and the list content type columns
still have their old name afterwards.
We checked our definition files and they seemed to be well.
Any ideas?
Regards,
Markus
List columns as defined within new the resource file:
List content type columns, that do not show the changes from the new resource file:
Hi,
According to your post, my understanding is that you want to modify the site column name in the list.
I try to reproduce the issue, however, everything works well.
You can modify the DisplayName in the Element.xml file.
Then after you redeploy the project, the site column name will be changed in the list setting page.
In addition, please check whether you create the list correctly.
For more information, you can refer to
Walkthrough: Create a Site Column, Content Type, and List for SharePoint
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support
Similar Messages
-
Missing Columns from List Content Type
Hi,
I'm having some strange problems with one of my site collections, I have site content types with a few columns in it and I'm using them in 3 different libraries.
However recently something happened and it seems the list content types in one of the libraries have stopped using some of the columns set out in the site content type (according to library settings). The columns still show as part of the list (and the metadata
is still in there), when I've tried adding them back to the list content types, I do not see them in the list columns group, only in their original column group. If I try to add them to the list from their original group I get the errors similar to the following:
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General 8e2s
Medium Unknown SPRequest error occurred. More information: 0x8007054f
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General aix9j
High SPRequest.AddField: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://servername/sitecollection ,bstrListName={7F184ACA-48C3-4728-AF42-A12CB55941B4} ,bstrSchemaXml=<Field Type="Lookup" DisplayName="DocumentOwner"
Required="FALSE" EnforceUniqueValues="FALSE" List="{57d71ec0-a996-4977-abf7-4cd4e0cc105c}" WebId="53a31862-077a-4031-8aad-7f2a43e33a46" ShowField="Title" UnlimitedLengthInDocumentLibrary="FALSE" Group="_QMS"
ID="{ca4bc17d-bb96-4aee-bb96-e645c939a013}" ,grfAdd=18
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General ai1wu
Medium System.Runtime.InteropServices.COMException: An internal error occurred. (Exception from HRESULT: 0x8007054F), StackTrace: at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String
schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.AddFieldToList(SPField fldSrc) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.UpdateList()
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer,
IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General 8nca
Medium Application error when access /_layouts/15/fldpick.aspx, Error=An internal error occurred. (Exception from HRESULT: 0x8007054F) at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String
bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
Runtime tkau
Unexpected System.Runtime.InteropServices.COMException: An internal error occurred. (Exception from HRESULT: 0x8007054F) at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String bstrUrl,
String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
11.14.2014 13:16:52.85 w3wp.exe (0x1B84)
0x0770 SharePoint Foundation
General ajlz0
High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: An internal error
occurred. (Exception from HRESULT: 0x8007054F) ---> System.Runtime.InteropServices.COMException: An internal error occurred. (Exception from HRESULT: 0x8007054F) at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String bstrUrl,
String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) --- End of inner exception stack trace ---
at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.AddField(String bstrUrl, String bstrListName, String bstrSchemaXml, Int32 grfAdd) at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String
schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.AddFieldToList(SPField fldSrc) at Microsoft.SharePoint.ApplicationPages.AddFieldToContentTypePage.UpdateList()
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception
e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
fd09cc9c-cf7b-1059-3bcb-0e44d3bf3743
I've tried to make changes to the parent site content type, however those changes to not push down to the library in question. The missing columns have varied types (single line of text, lookup, managed metadata and so forth). All of these content types &
site columns were created through the user interface of SharePoint.
Can anyone help me with any ideas what has happened and/or how to fix this problem?Hi Hans,
As I understand, you have custom content type in 3 libraries, while the issue occurs to the columns in this content type.
I wonder if the issue occurs to other two libraries as well?
From your description, "I've tried to make changes to the parent site content type, however those changes to not push down to the library in question", do you mean that changes in content type are not reflected to the list which is added to this
content type. If that is the case, I'd suggest you recreate content type.
If the site content type works well in other two libraries, please create a new library and add this content type. If it works well, then move the list content to this new list.
Regards,
Rebecca Tu
TechNet Community Support -
Search for documents using External Data on list content type
hi,
say we have clients in an external database, we create the external content type for use in sharepoint 2013
we create two content types, Quote and Order for use in a library
we create a document library that uses the above content types
we then add a column for the external data ( in this case Client Name- but also include ID) , we have the option to copy to content type selected. so now library shows 'Client' and 'Client:ID'
I believe that column gets added to list content types based on the 2 document content types.
so we have list items , which have a document , a content type and a piece of data from the external LOB system.
now that is fine, works great, however, how do you configure the content search web part to return documents based on the piece of external data - ie client:ID ? or Client Name ?
I can map the client:ID to one of the Int00 managed properties and crawl etc - but do not see a way to use that to return documents
any help would be appreciated :)
thanks
MrPCreate a scopr with that in managed properies and then u can get results from external sources
-
Deploying a Reusable Workflow to a List Content Type using PowerShell
We have a situation where deployment of a reusable workflow for a site content type cannot be completed through the web interface due to the number of libraries where the content type is in use (time-out on deploy and update).
It was hoped that this could be accomplished with PowerShell but the method of deploying to a list content type appears to be different than it is to a list (all content types).
The below snippet works fine for a list / all content types:
function AddWorkflowToLibraries ($SiteCollection, $ctName, $WfName, $WfAssociationName)
$site = Get-SPSite $SiteCollection
[Guid]$wfTemplateId = New-Object Guid
#Step through each web in site collection
$site | Get-SPWeb -limit all | ForEach-Object {
$web = $_
$_.Lists | ForEach-Object{
if($_.AllowContentTypes -eq $true)
if($_.ContentTypes.Item("$ctName") -ne $null)
write-host "Enabling workflow on" $_.Title "in" $_.ParentWebUrl
$ct = $_.ContentTypes[$ctName]
$culture = New-Object System.Globalization.CultureInfo("en-US")
$template = $site.RootWeb.WorkflowTemplates.GetTemplateByName($WfName, $culture)
if($template -ne $null)
$tasklist = "Tasks"
$historylist = "Workflow History"
if(!$web.Lists[$historylist])
$web.Lists.Add($historylist, "A system library used to store workflow history information that is created in this site. It is created by the Publishing feature.",
"WorkflowHistory", "00BFEA71-4EA5-48D4-A4AD-305CF7030140", 140, "100")
if (!$web.Features["00BFEA71-4EA5-48D4-A4AD-305CF7030140"]) {
Enable-SPFeature -Identity WorkflowHistoryList -Url $web.Url
$wfHistory = $web.Lists[$historylist]
$wfHistory.Hidden = $true
$wfHistory.Update()
if(!$web.Lists[$tasklist])
$web.Lists.Add($tasklist, "This system library was created by the Publishing feature to store workflow tasks that are created in this site.", "WorkflowTasks", "00BFEA71-A83E-497E-9BA0-7A5C597D0107", 107, "100")
$association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
$association.AllowManual = $true
$_.AddWorkflowAssociation($association)
$_.Update()
else
Write-Error "Workflow Template not found"
AddWorkflowToLibraries <Site Name> <Content Type Name> <Workflow Template Name> <Association Name>
However changing the association as follows causes the script to still execute without a problem but the workflow doesn't appear for the content and the associations collection is empty:
function AddWorkflowToLibraries ($SiteCollection, $ctName, $WfName, $WfAssociationName)
$site = Get-SPSite $SiteCollection
[Guid]$wfTemplateId = New-Object Guid
#Step through each web in site collection
$site | Get-SPWeb -limit all | ForEach-Object {
$web = $_
$_.Lists | ForEach-Object{
if($_.AllowContentTypes -eq $true)
if($_.ContentTypes.Item("$ctName") -ne $null)
write-host "Enabling workflow on" $_.Title "in" $_.ParentWebUrl
$ct = $_.ContentTypes[$ctName]
$culture = New-Object System.Globalization.CultureInfo("en-US")
$template = $site.RootWeb.WorkflowTemplates.GetTemplateByName($WfName, $culture)
if($template -ne $null)
$tasklist = "Tasks"
$historylist = "Workflow History"
if(!$web.Lists[$historylist])
$web.Lists.Add($historylist, "A system library used to store workflow history information that is created in this site. It is created by the Publishing feature.",
"WorkflowHistory", "00BFEA71-4EA5-48D4-A4AD-305CF7030140", 140, "100")
if (!$web.Features["00BFEA71-4EA5-48D4-A4AD-305CF7030140"]) {
Enable-SPFeature -Identity WorkflowHistoryList -Url $web.Url
$wfHistory = $web.Lists[$historylist]
$wfHistory.Hidden = $true
$wfHistory.Update()
if(!$web.Lists[$tasklist])
$web.Lists.Add($tasklist, "This system library was created by the Publishing feature to store workflow tasks that are created in this site.", "WorkflowTasks", "00BFEA71-A83E-497E-9BA0-7A5C597D0107", 107, "100")
$association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
$association.AllowManual = $true
$_.ContentTypes[$ctname].AddWorkflowAssociation($association)
$_.ContentTypes[$ctname].Update()
else
Write-Error "Workflow Template not found"
AddWorkflowToLibraries <Site Name> <Content Type Name> <Workflow Template Name> <Association Name>
The only change is:
$association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
$association.AllowManual = $true
$_.ContentTypes[$ctname].AddWorkflowAssociation($association)
$_.ContentTypes[$ctname].Update()
But unlike the list version, the association doesn't appear to be saved and no error is generated.
Is anyone aware of what may cause this or have an example in C# that may explain something my script is missing?Hi Garry,
After you associate the workflow to the content type, you should update the update the content type using
$ct.UpdateWorkflowAssociationsOnChildren($true,$true,$true,$false)
method.
Here is the completed script:
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
$site=Get-SPSite "http://serverName"
$web=$site.OpenWeb()
$list=$web.Lists["ListC"]
$taskList=$web.Lists["Tasks"]
$historyList=$web.Lists["Workflow History"]
$ct=$list.ContentTypes["Link"]
$culture=New-Object System.Globalization.CultureInfo("en-US")
$wfTemplate=$web.WorkflowTemplates.GetTemplateByName("Three-State",$culture)
$associationWF=[Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($wfTemplate, "myThreeStateWF",$taskList,$historyList)
$ct.WorkflowAssociations.Add($associationWF)
$ct.UpdateWorkflowAssociationsOnChildren($true,$true,$true,$false)
Here is a demo about how to update it using C#
http://www.thorntontechnical.com/tech/sharepoint/sharepoint-2010-associate-workflow-to-content-type-in-a-feature
Wayne Fan
TechNet Community Support -
How can we delete apps, etc from the Previously Purchased list so that they don't show there anymore?
You can't currently permanently delete purchases, all you can do is hide them so that they are less visible : hiding and unhiding purchases
-
Revision: 12871
Revision: 12871
Author: [email protected]
Date: 2009-12-11 15:53:28 -0800 (Fri, 11 Dec 2009)
Log Message:
More new Spark acc impl files were missing svn:eol-style and svn:mime-type properties.
QE notes: None
Doc notes: None
Bugs: None
Reviewer: None
Tests run: checkintests
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarBaseAccImpl.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListAccImpl.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TabBarAccImpl.as
Property Changed:
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarBaseAccImpl.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListAccImpl.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TabBarAccImpl.as -
How to write new line on resource file.
Hello Everyone,
Can you please help me add new row on resource file, here is the code i have used to read my resource file.
I have no idea on how to add new line... Please help
private void btnBrowse1_Click(object sender, EventArgs e)
BrowseFile();
//versionIncrement();
if (txtInputfile.Text.Length > 0)
PathSelection = txtInputfile.Text;
oDataSet = new DataSet();
//now am reading the files fro the path that is selected
XmlReadMode omode = oDataSet.ReadXml(PathSelection);
for (int i = 0; i < oDataSet.Tables[2].Rows.Count; i++)
string comment = oDataSet.Tables["data"].Rows[i][2].ToString();
//the elements array contain all the columns filled
string[] elements = comment.Split('-'); //when it reaches the comma, it will jump to the next line
string font = elements[0]; //Font
string datestamp = elements[1]; //DateStamp
string commentVal = elements[2]; //Comment
string[] row = new string[] { oDataSet.Tables["data"].Rows[i][0].ToString(), oDataSet.Tables["data"].Rows[i][1].ToString(), font, datestamp = DateTime.Now.ToString(), commentVal };
Gridview_Input.Rows.Add(row);Hello
Sitholimela,
>> Can you please help me add new row on resource file, here is the code i have used to read my resource file.
From your description, it seems that your resource file is a XML format file, if so, you could also have a try to use
LINQ To XML which is easy to operate the XML file to add new row to your resource file, and here is an example to show how to add a new element/row to the specific tree:
Linq to XML Add element to specific sub tree
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Report Painter - New Columns Don't Show Up
Hello All,
We have a report painter report that was copied from an existing report in transaction CJE5 (for modifying the form) and then assigned in CJE1 (to a report). The copied report was functioning properly with an existing tcode assignment. Now, I am trying to add new columns to the same form and I was able to add and save everything to the form without errors. However, when I execute the report, these new columns don't appear on the report. Can anyone suggest why?
One thing I notice was that when I went to the "Report Parameters", the list of "Columns" does not include the columns that I added. I cannot figure out how to add them to the list so that they would start appearing on the report output.Hello Suresh, Thanks for the suggestion, but report painter is a functional area and the ABAPer should not be required to insert a new column and make it appear on the report. Any more suggestions, please?
-
Dear all,
I am getting application error while enabling the feature. if any body can point out the issue - that will be helpful.
content type
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Field ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns"/>
<!-- Parent ContentType: Item (0x01) -->
<ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9"
Name="TrainingCourses"
Group="Training Content Types"
Description="Defines a Course"
Inherits="TRUE"
Version="0">
<FieldRefs>
<FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE"/>
</FieldRefs>
</ContentType>
</Elements>
List definition
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List Definition project item, an error will occur when the project is run. -->
<ListTemplate
Name="TrainingCourses"
Type="10100"
BaseType="0"
OnQuickLaunch="TRUE"
SecurityBits="11"
Sequence="410"
DisplayName="TrainingCourses"
Description="Training Courses List Definition"
Image="/_layouts/images/itgen.png"/>
</Elements>
List instance
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance Title="TrainingCourses"
OnQuickLaunch="TRUE"
TemplateType="10100"
Url="Lists/TrainingCourses"
Description="Training Course List Instance">
</ListInstance>
</Elements>
schema
<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="TrainingCourses" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/TrainingCourses-LD_TrainingCourses" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
<MetaData>
<ContentTypes>
<ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9" Name="TrainingCourses" Group="Training Content Types" Description="Defines a Course" Inherits="TRUE" Version="0">
<FieldRefs>
<FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" />
</FieldRefs>
</ContentType>
</ContentTypes>
<Fields>
<Field ID="{4c1b0a21-fce0-4cfe-8742-a250672afe4f}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns" />
</Fields>
<Views>
<View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
<Toolbar Type="Standard" />
<XslLink Default="TRUE">main.xsl</XslLink>
<RowLimit Paged="TRUE">30</RowLimit>
<ViewFields>
<FieldRef Name="LinkTitleNoMenu">
</FieldRef>
<FieldRef Name="CourseDesc">
</FieldRef>
</ViewFields>
<Query>
<OrderBy>
<FieldRef Name="Modified" Ascending="FALSE">
</FieldRef>
</OrderBy>
</Query>
<ParameterBindings>
<ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
</ParameterBindings>
</View>
<View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
<Toolbar Type="Standard" />
<XslLink Default="TRUE">main.xsl</XslLink>
<RowLimit Paged="TRUE">30</RowLimit>
<ViewFields>
<FieldRef Name="Attachments">
</FieldRef>
<FieldRef Name="LinkTitle">
</FieldRef>
<FieldRef Name="CourseDesc">
</FieldRef>
</ViewFields>
<Query>
<OrderBy>
<FieldRef Name="ID">
</FieldRef>
</OrderBy>
</Query>
<ParameterBindings>
<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
</ParameterBindings>
</View>
</Views>
<Forms>
<Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
<Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
<Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
</Forms>
</MetaData>
</List>
I am applying the feature to SPWeb level.
cheers
Sathyaredeployed a new solution; since I was getting this error. I would have done typo errors etc.
https://naveengopisetty.wordpress.com/2011/09/10/error-occurred-in-deployment-step-activate-features-invalid-file-name-the-file-name-you-specified-could-not-be-used-it-may-be-the-name-of-an-existing-file-or-directory-or-you-may-not-have-pe/
Cheers
Sathya -
Customising a SharePoint list content type form - "Manage multiple list items with this form"
I have designed a form for a content type on an existing SharePoint list. When I ran the initial wizard, I selected
Manage multiple list items with this form which is great, exactly what I want.
But, there are some columns in this content type that I do not want repeating and have them moved them outside of the Repeating Section but I am getting the below error. I can't seem to find a way to create a new non-repeating group though. Any
advice on how to do this?*Bump*
-
How to change data type of content type column.
Hi all,
I am having one content type. I have 10 columns in it. There are two rich text columns in my content type. I have attached this content type to pages library. I want to change the data type of this rich text column to "Full
HTML content with formatting and constraints for publishing".
Please assist me with this issue.
amolHi,
From your description, my understanding is that you want to change the data type for rich text column in content type.
The field type of Full HTML content with formatting and constraints for publishing is "Invalid", you could refer to this article:https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldtype.aspx.
You also could test it by create a Full HTML content with formatting and constraints for publishing column and get the its type with C# code below:
//change the URL to your SharePoint site
using (SPSite site = new SPSite("http://sp/sites/sharepoint2013"))
using (SPWeb web = site.OpenWeb())
SPFieldType type = web.Fields["Column name"].Type;
I have tested it with the PowerShell, it cannot hange the rich text column to “Full HTML content with formatting and constraints for publishing” column. If you want to edit the rich text column, you could not change the type of the column as the screenshot
below:
As a workaround, you could follow these steps to accomplish your requirement:
Create a “Full HTML content with formatting and constraints for publishing” type column in the content type.
Enter your site columns by clicking gear icon -> Site Settings -> Site columns under Web Designer Galleries under section.
Find and delete the rich text column you want to change.
Find the column you have created in step 1, and change the column’s name to the name of the text column you have deleted in step 3.
But you will lose the data of the rich text column in pages library with this method.
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Deleting sharepoint list content type Fields
Hi
Please tell me the code for deleting all the fields inside content type fields..This is my code i used,but its not deleting the fields.
SPSite spsite = new SPSite("http://ghfjhhk18:8001");
SPWeb web = spsite.OpenWeb();
web.AllowUnsafeUpdates = true;
SPList list = web.Lists["Test"];
SPContentTypeCollection cts = list.ContentTypes;
SPContentType ct = cts["Item"];
// ct.FieldLinks.Delete("Expires");
//ct.Update();
SPFieldCollection contentTypeFieldCollection = ct.Fields;
foreach (SPField spField in contentTypeFieldCollection)
if (ct.Fields.ContainsField(spField.Title))
//SPFieldLink fieldLink = new SPFieldLink(spField);
ct.FieldLinks.Delete(spField.Title);
//myContentType = null;
ct.Update();
web.AllowUnsafeUpdates = false;
}but this code is not deleting the fields..
pls help me as soon as possible.
One friend told me to do for loop in reverse..but how can i accomplish thatHi,
Please refer the below code snippet which may help you to fix your issue. If not please refer the below links also
http://ptsharepoint2010.blogspot.in/2011/12/programmatically-remove-fields-from.html
http://www.c-sharpcorner.com/uploadfile/54db21/delete-field-content-type-in-sharepoint-2010-programmaticall/
using (SPWeb web = site.OpenWeb())
SPList spList = web.Lists["<ListName>"];
SPContentTypeCollection spCTS = spList.ContentTypes;
SPContentType spCT = spCTS["YourContentType"];
spCT.FieldLinks.Delete("YourField");
spCT.Update();
If its not helping you, please let us know
Sekar - Our life is short, so help others to grow
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer -
Flex builder 3 don't show new components
Hi,
I've installed flex builder 3 beta 3. The new components such
as the advanced datagrid don't show in the components window.
Actually they were showing but for some reasons they are gone now.
I also have flex builder 2 installed on the same pc, but it
shouldn't be an issue.
I've made sure in the preferences that flex builder 3 uses
the right sdk (3.0 beta 3)
Can someone help ?
ThanksYes I was definitely running 3.0. I've solved the problem by
reinstalling flex 3.
However sometimes I get a nasty crash when I open a component
in Design mode and when the Properties window of this component is
opened. Then Flex closes and I get a popup with error log. Will
post it next time I see it.
Overall it seems ok though, I'm already enjoying the advanced
datagrid :) -
Gnome 3.12 - nautilus, gedit etc. don't show new input instantly
When renaming a file or directory in nautilus what I see in the input field is always one repaint behind what I actually did.
For example:
1.) Create a new folder in nautilus
2.) Rename it and set the cursor to the end of the name so that it deletes one character at a time.
3.) Press backspace over and over again.
It will seem as if it doesn't delete the first character of the foldername. Now type a new name and you'll see that it looks like it doesn't set the last character you typed. Click inside of nautilus and you'll see that it just needed a new repaint.
Same thing seems to happen in gedit:
https://bugs.archlinux.org/task/39827
Probably related:
https://bbs.archlinux.org/viewtopic.php?id=179900
One user mentions this being related to the latest nvidia driver (using 337.12 atm), but I remember having this issue also with the older versions. I suspect that this is a problem with clutter, since these problems started to happen around the same time I reported a screen flickering bug to NVIDIA which turned out was a bug in clutter.
https://devtalk.nvidia.com/default/topi … the-mouse/
A clutter maintainer responded to my thread:
That does not seem to be the case (yes that problem exists but this is a different story). This particular bug is simply a bug on how we handled the buffer_age extension in clutter. I have fixed in upstream clutter. The patch is also in the 1.16 branch (not just 1.18) so should end up in distros soon.
This doesn't happen in non-gnome applications like sublime text.
Last edited by blackout23 (2014-04-14 16:04:41)hello, blackout23
According to the bug report and the clutter developer, this issue has been fixed, but I'm still getting that horrible 'text to screen' delay with gedit and with other gnome apps. Mouse clicks in those apps are delayed as well. Is there something else I need to do, or could it be that I missed or misunderstood something while researching this issue?
Currently running Gnome 3.12 (not from testing repo) and all installed packages including nvidia are the current releases from the Arch official repos.
Thanks for any tips.
Edit: never mind, just found the following thread that seems to indicate it is still an ongoing issue:
https://bbs.archlinux.org/viewtopic.php?id=178024
Last edited by ozar (2014-07-03 20:27:38) -
My SMS inbox doesnt show new messages and also my Curve 8900 doesnt prompt for any new messages. However, the Mobiso application (which logs calls, texts) shows messages coming in with its text lengths. I asked this to Blackberryhelp on Twitter but it said to contact service provider, but there is nothing wrong with it. The format of the SMS inbox should have something wrong otherwise the Mobiso application should not have logged all messages.
Please help me, i am missing all my daily SMS since last 20 days.
Will degrading the OS help? Which is recommended OS version for BB Curve 8900?Hi,
Here are some good articles listing the available methods for organizing and displaying messages in device OS 5.0. If you can't set your exact preferences I suggest looking in AppWorld for custom programs.
Let us know how it goes!
Thanks,
Bifocals
What is new in BlackBerry Device Software 5.0
Option for separate SMS and Email message inboxes is missing
How to integrate SMS text messages with BlackBerry Messenger 5.0
SMS text messages received from multiple senders appear in the same conversation thread on the Black...
Organizing your inbox’s main Messages list
Click Accept as Solution for posts that have solved your issue(s)!
Be sure to click Like! for those who have helped you.
Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.
Maybe you are looking for
-
Fields in Creation of free goods VBN1
hi everybody, Can somebody expalin in detail the fields in creation of free goods(T-vbn1) like free goods quantity,additional quantity,documnet quantity and calculation rule.... <b>Please dont copy paste anything form SAP help....I read that one.....
-
How do I Download from Itunes store using the Apple Lossless format?
I use my music on a home sterio and import locally from CD's to Windows using the Apple Lossless format only, to achieve the Highest quality sound. However, When I buy from Itunes store I can only get AAC format, which is low quality. How can I get I
-
Activity Type ENGINE not set up for cost center
Hi all, Currently, we have set up a work center in our system, which has the following intergration: - Controlling Area --> TECH - Cost Center --> TECH001 - Activity Type --> ENGINE - Plant --> PN01 - Work Center --> PL01 Based on the above, the work
-
We are having serious issues with one of our Google Apps accounts. We have done everything we can think of to get it to work properly on 3G but for some reason it continually asks for the user's password no matter how many times we enter it. However,
-
Message Transformation: ISO To XML Supported in OSB?
hi, I want to know if ISO To Xml message transformation supported in OSB. I know that OSB supports XML-non XML message transformation and vice-versa. Is ISO format included in that non-XML transformation. If yes How can i build a sample MFL file usin