0
votes
2answers
342 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
2k views

How can use API to get all Publishing pages in the site collection using a specific Content Type?

I need to use API to return all Publishing pages using a specific content type in a publishing site. this includes querying all sites in the site collection. Can I do that with SPQuery? I am using ...
1
vote
1answer
412 views

How to create link to create a custom content type in Site Actions menu?

I am new in SP2010 and I want to ask if anyone knows how to do the following. I have made some new custom content types based in the Article page (Publishing page) and assigned new layouts to them. Is ...
3
votes
2answers
3k views

Problem with Sharepoint ContentTypeBinding and Lookup field

I have a problem with ContentTypeBinding when creating a new site. I have custom site template definition where I have referenced Publishing Server Feature, so list Pages is automatically created on ...
10
votes
2answers
1k views

Best way to package publishing content types

I'm currently planning on how to package my Publishing content types in a WSP to make deployment in production easier. I came a cross the following choices 1- create a feature receiver and ...
0
votes
1answer
970 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 ...