Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Salvete! I want to create a custom content-type, but I want to add a few subtitles and maybe some custom content, such as graphics, or explanations, to the fill-in area.

How can I do that short of hacking it with javascript?

Maybe it is possible to bind an infopath form to the content-type? The idea is that I could edit the content-type, and the changes get applied to all instances of it, whatever list it might be in. If I could bind a particular form (newform.aspx, editform,.aspx, etc.) to the content-type, that seems like it could work, no?

share|improve this question
    
Do you want to edit the content type or data based on that content type? –  sssreddy Oct 15 '12 at 21:36
    
I don't need to edit the data. I want to insert a sort of title to break up the questions in the forms. –  BGM Oct 15 '12 at 21:54
    
You want to edit the form. –  RJ Cuthbertson Oct 16 '12 at 2:42
1  
Edit what form? I am creating a content-type, no? How do I edit the form of a content type? –  BGM Oct 16 '12 at 2:55
add comment

2 Answers

You can try Forms Designer tool: http://spform.com. It allows you to edit new, edit and display forms for the specific content type. But if you need to apply it to all lists that use this content type you have to export and import setting of the form in the forms designer. Or write to support team, may be such functionality is there.

share|improve this answer
    
Thanks for the suggestion; but my boss won't let me purchase the product... –  BGM Oct 18 '12 at 15:05
add comment
up vote 0 down vote accepted

After much toil, I think the only way to do this is by creating an InfoPath-based content-type. You can create the form with whatever fields you like, and add whatever styles you like.

Now, to make it work, you have to make sure your certificate is installed in Central Administration > Security > Manage Trust. (See this thread)

Also, you have to upload a data connection file. First, create a Data Connections library somewhere in your portal. Then, in InfoPath, you have to go to (in the ribbon) Data > Data Connections, and, having selected your data connection(you know, when you told it whence to upload the submitted forms), click on "Convert to Connection File". It will prompt you for a url with a file name. You should specify the url to your data connection library that you just created in your sharepoint portal, and give it a file name with the extension .udcx - something like this: http://myportal.mydomain.com/dataconnectionlibrary/myDataconnection.udcx

After that is done, you can go into your forms library and add the new content-type, complete with all your nice formatting. If you want to display the form's fields and values like a regular list instead of like a document library, you have to create a new "standard" view.

Hope that helps someone!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.