0

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?

4
  • Do you want to edit the content type or data based on that content type?
    – sssreddy
    Oct 15, 2012 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.
    – bgmCoder
    Oct 15, 2012 at 21:54
  • You want to edit the form. Oct 16, 2012 at 2:42
  • 1
    Edit what form? I am creating a content-type, no? How do I edit the form of a content type?
    – bgmCoder
    Oct 16, 2012 at 2:55

2 Answers 2

1

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.

1
  • Thanks for the suggestion; but my boss won't let me purchase the product...
    – bgmCoder
    Oct 18, 2012 at 15:05
0

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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