Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Cannot deploy app where list instance uses site column where name begins with number

$
0
0

Possible bug?  Created a SharePoint hosted app project with a list instance and a site column in Visual Studio 2013 using IDE interface.  Site column is

<?xml version="1.0" encoding="utf-8"?><Elements xmlns="http://schemas.microsoft.com/sharepoint/"><Field
       ID="{52748eb9-6ed5-4cf8-91f8-203f343c9d5f}"
       Name="1Text"
       DisplayName="1 Text"
       Type="Text"
       Required="FALSE"
       Group="Custom Site Columns"></Field></Elements>

Added just this site column to the list instance

<FieldRefs><FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
                    Name="Title" /><FieldRef ID="{52748eb9-6ed5-4cf8-91f8-203f343c9d5f}"
                    Name="1Text" /></FieldRefs></ContentType><ContentTypeRef ID="0x01"><Folder TargetName="Item" /></ContentTypeRef><ContentTypeRef ID="0x0120" /></ContentTypes><Fields><Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
             Type="Text"
             Name="Title"
             DisplayName="$Resources:core,Title;"
             Required="TRUE"
             SourceID="http://schemas.microsoft.com/sharepoint/v3"
             StaticName="Title"
             MaxLength="255" /><Field ID="{52748eb9-6ed5-4cf8-91f8-203f343c9d5f}"
             Name="1Text"
             DisplayName="1 Text"
             Type="Text"
             Required="FALSE"
             Group="Custom Site Columns"></Field></Fields>

When I Start Debug, the app will not deploy with a very unhelpful (for me anyway) error in the Output window.

I was not aware that starting the column name with a numeric is prohibited?

Fox4



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>