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

I've built a custom content type called "Document for Review" and added a few extra fields (as you'd guess it inherits from Document). However I'd only want some of those extra fields to show up when any item from the content type is edited (some are to be fixed at insert). Searching out there hasn't given me a definitive answer to this. This also has to be a sandboxed solution (if not done straight out of SP Designer) as it will be running on SharePoint online.

share|improve this question
    
The need to answer this question is obviated now by a new business requirement, structured the workflow behind it to work differently. I'll leave the question open and if something appears right, great. –  tekiegreg May 1 '13 at 16:23

2 Answers 2

Is you SharePoint Online account type dedicated or multi-tenant. If multi-tenant then it will have to run in Sandbox but if dedicated you can get your solution approved from MSO and take advantage of full SP object model?

You can try to customize the list forms as InfoPath forms using SharePoint 2010 designer and in InfoPath you have the liberty to create rules, so you might be able to create rule to check if "Edit Item" form is being opened then only show certain fields. Refer this URL to customize list forms:

http://msdn.microsoft.com/en-us/library/office/gg180738(v=office.14).aspx#ip2010CustomizeList_Pt1

Check if in Sandbox execution model InfoPath forms are available or not?

share|improve this answer
    
Asked about multi-tenanting, the answer is no, we're stuck on SP Designer and other OOTB stuff, but thanks for the idea. –  tekiegreg Apr 26 '13 at 21:48

You need to do the following:

  1. Update the settings of your Document Library. Make sure to make the fields you want to be viewable when editing to be optional fields. This can be done by going to List Settings and clicking the content type you want to modify.
  2. Use the technique shown in this page to hide the 4 fields in your newform.aspx.
share|improve this answer
    
Down-modded this wasn't a list content form, this was an content type form. Missed the point. –  tekiegreg Apr 28 '13 at 13:23

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.