Answered edit the code of external content types

  • Saturday, August 20, 2011 12:37 PM
     
     

    <SharePoint:FieldLabel Grid.Column="0" Grid.Row="11" ControlMode="New" FieldName="NumberOfInstallment" />
    <Comment FieldName="Number Of Installment" FieldInternalName="NumberOfInstallment" FieldType="Text" />
    <SharePoint:FormField Grid.Column="1" Grid.Row="11" ControlMode="New" FieldName="NumberOfInstallment" IncludeDescription="True"/>

    Above given is the code for ect(external content types),,,want to make following changes in it. 

    Add Validation
    Change tooltip
    Change field name
    Change field type from datetime to date only

    Let me know how will i be able to achieve it.

    Thanks,

    In Advance

All Replies

  • Wednesday, August 24, 2011 12:28 AM
     
     Answered

    Hi John,

    Are you talking about modifying the behavior of the OOB External List page that is rendering the contents from an External Content Type?

    You may start with opening the list form page in SPD or VS and make some changes.  But what ultimately needed here is to create your own ASP.NET form page to replace the OOB External list form pages so you have full control over how the data will be rendered.

    Cheers,

    Jeff - MSFT

    • Proposed As Answer by Shimin Huang Thursday, August 25, 2011 9:07 AM
    • Marked As Answer by Shimin Huang Thursday, September 01, 2011 6:15 AM
    •  
  • Wednesday, August 24, 2011 12:31 AM
     
     

    Hi John,

    Are you talking about modifying the behavior of the OOB External List page that is rendering the contents from an External Content Type?
     
    You may start with opening the list form page in SPD or VS and make some changes.  But what ultimately needed here is to create your own ASP.NET form page to replace the OOB External list form pages so you have full control over how the data will be rendered.

    Cheers,

    Jeff - MSFT

  • Tuesday, April 17, 2012 2:02 AM
     
     

    Should be a simple matter of changing one of the descriptors -- not sure which one. The bogus "answer" with all the convoluted non-helpful "have to do more work and recreate the world" stuff should not have been marked (by some outsider not even participating in the conversation) as anything. 

    Had done this once - with a simple tag. Now I can't find it. When I do, I would be happy to share - a real, helpful answer. 


    Terri Morgan


    • Edited by TerriMorgan Tuesday, April 17, 2012 2:03 AM
    •