Tagged Questions
1
vote
1answer
145 views
To deploy page layout with feature at the same time of adding content type, the content type Id issue
First let me describe my situation:
Now I'm using object model to add two content types (inheriting Pages content type) using the FeatureActivating methode in the Feature Receiver. in the same ...
2
votes
0answers
70 views
How can I create a Enterprise Wiki pagelayout with a repeating content type?
So this is the situation: my customer wants to have a web service catalog in an Enterprise Wiki.
Per service we need to store fields like:
- service name
- description
- goal
- status
- version
...
1
vote
1answer
148 views
Add column to a Content Type which is associated content type of Page Layout, PL not updated
All I do below is with Visual Studio 2010. I cannot use Sharepoint Designer because I don't have the right to do it.
I have a Content Type, which is the associated content type of a page layout. They ...
1
vote
0answers
71 views
SP2010: Value of the 'Title' field is not stored when saving from pagelayout
I've created a pagelayout associated with a specific content type that contains the standard Title field.
In my aspx file, I have an EditModePanel with attribute PageDisplayMode set to Edit, and ...
2
votes
2answers
208 views
How to use one page layout for few content types
I have elements.xml with module:
<Elements>
<Module Name="IntranetNewsPageLayout" Url="_catalogs/masterpage">
<File Path="IntranetNewsPageLayout\IntranetNewsPageLayout.aspx" ...
1
vote
1answer
361 views
Bind custom content type to Pages library
I have developed a custom content type and a custom page layout that is inheritted, in visual studio for my publishing site. I am setting the default page layout of the site programmatically, in event ...
1
vote
1answer
367 views
Parent content type Page or Page Layout?
When to develop custom page layout via Visual Studio, which parent content type must be chosen for content type?
From different articles i see both Page and Page Layout selected as base Content type.
...
0
votes
0answers
27 views
Possible to show description on publishingwebcontrol?
As title says, on a publishing web control (in edit mode) where it would typically display the display name - I want it to display the content type field description instead.
FYI - this is a ...
0
votes
1answer
193 views
How to move content within fields in a page layout?
I'm working on a requirement where I'm adding a few fields in an already existing Page Layout and also renaming all the fields. After adding the fields via code,I want to move content within fields ...
2
votes
1answer
161 views
Is it possible to use powershell to change the content type of a page layout after its been uploaded to a masterpage gallery?
Im trying to automate as much of the upgrade I am working on and one of the manual steps is to change the page layout of 5 root webs of site collections, each of which has to have this new page layout ...
0
votes
1answer
224 views
Conditionally hiding fields on publishing pages
Is it possible to hide some publishing fields on page layouts based on page content type field values? For example, if some field named Show Main Image is not set to true, I don't want to show Main ...
0
votes
2answers
472 views
Changing PublishingPage.Layout doesn't change the content type?
I'm trying to update the Layout of the default.aspx page in my SharePoint publishing site and although the Layout does get updated, the ContentType of the page does not. Anyone have any ideas?
Based ...
0
votes
1answer
287 views
How can I programmatically set the hex value of PublishingAssociatedContentType?
When deploying a custom page layout that uses a custom content type, I need to include the hexadecimal value of the PublishingAssociatedContentType property. This is a problem since this value will ...
2
votes
3answers
2k views
Page layout not showing Content type fields
I'll try my best to describe this problem as it is quite tedious.
We have a sharepoint solution, in where we create Columns that are deployed through a feature. I added my custom columns to a custom ...
2
votes
0answers
227 views
NullReference when creating custom page
I am trying to display content in a formatted, custom page in SP10.
I created a content type, I'll call BobType, which uses "Page" as the parent (actually, i've tried it with "Enterprise Wiki Page" ...
2
votes
0answers
347 views
Content field not recognized on Page Layout
I'm using SharePoint Designer 2010 to create a custom page layout.
I have a content type called "Web Part Page" and its parent is "Page" content type. I have several site columns associated with this ...
2
votes
1answer
230 views
Sharepoint Designer > Use Custom Field from Content Type to set a HTML Attibute
I'm really not a Designer, but unfortunately, I have to design something. Any help will be much appreciated.
The Scenario:
I have a Page Layout with my own Content Type.
One of the Fields in the ...
0
votes
2answers
116 views
Accessing additional content type from a page layout (in markup)
I have the following content types
Testimonial Page (Inherits from Page)
Testimonial Video (Inherits from Video)
I have a page layout that is based off of the Testimonial Page content type. I ...
0
votes
1answer
702 views
Date Field format in a Publishing layout
I have created a publishing layout for SP 2010 Publishing site. I have created it based off a page layout publishing content type. One of the field is the standard OOTB Date field. Using SP ...
5
votes
3answers
196 views
Equivalent of a database table in SharePoint?
I'm making a Publishing site, and part of this site will display information about company products. We have a number of products, and each one should have its own description page. The description ...