Custom Entity - Section below the summary

SOLVED

Is it possible in a custom entity to add a section below the summary that shows a list? I have it as another tab at the moment, but the user would prefer it be below the summary. Thanks!

Parents Reply Children
  • 0 in reply to Sean from Spire

    Does it matter where I put it? I have tried it in a few different places and it doesn't seem to be taking effect.

    <!-- #include file ="..\crmwizard.js" -->

    <%

    if( CRM.Mode != Save ){
    F=Request.QueryString("F");
    if( F == "ItemsNew.asp" ) CRM.Mode=Edit;
    }

    Container=CRM.GetBlock("container");
    Entry=CRM.GetBlock("ItemsNewEntry");
    Entry.Title="Items";

    Container=CRM.GetBlock("container");
    ItemCRMQuotes=CRM.GetBlock("ItemCRMQuotesBlock");
    ItemCRMQuotes.RowsPerScreen = 5;
    ItemCRMQuotes.Title="CRM Quotes";

    Container=CRM.GetBlock("container");
    ItemInvoice=CRM.GetBlock("ItemInvoices");
    ItemInvoice.Title="Sage 100 Invoices";

    Container.AddBlock(Entry);
    Container.AddBlock(ItemCRMQuotes);
    Container.AddBlock(ItemInvoice);

    Container.DisplayButton(1)=false;

    ...

  • 0 in reply to avolpe

    Don't repeat the Container=CRM.GetBlock("container"); - you only need one.

    From the CRM developer guide:

    RowsPerScreen
    Sets the maximum number of rows displayed on each screen.
    Use this property to limit the number of rows displayed per screen, and then use the forward and
    back buttons to display next or previous screens. Each user has a Grid Size setting in their
    Preferences. This setting overrides the RowsPerScreen setting except where you're using the
    ListBlock in a CRMSelfService object.

    So it appears that this property can't be used to do what you want.