Hide button in new quicklook

Hello,

I have created a new Quick Look page that shows several lists from custom entities.

My new Quick Look Tab is made of a Container Block that is made of 3 lists blocks with custom lists. I choosed this way to create the Quick Look because the list blocks can remove the pad bottoms.

The problem is that I can't remove the change button of the Container block ( I only removed the name but the gif and hyperlink remain). This button is useless because my container has only lists.

I have added the following script in the custom content of the first list. But it seems it doesn't find/remove the button.

<script>
crm.ready(function()
{
crm.hideButton("Edit.gif");
})
</script

Any ideas? Is it possible to remove this button?

Thanks for your help.

jerome

  • 0

    Hi Jeff,

    I didn't manage to add several lists in my ASP page so I made my quickLook from the UI.

    1. create 3 custom views
    2. create 3 custom lists
    3. create 3 list blocks linked to the lists
    4. create 1 container block and add the 3 list blocks to this container
    5. add a tab with runblock to the container block.

    Best regards

    Jerome

  • 0

    Jerome

    How did you create you Quicklook page? Did you use the .NET or ASP APIs? These should allow you to change the properties of the lists as they are included in the Container (and before they are rendered as HTML).

    But I think there is still an issue with addressing Buttons in ASP pages using the Client side API. This is because the way in which the buttons are grouped in the HTML tables/cells in the rendered page is different in ASP pages than in the main interface.

  • 0

    Jerome

    I think you will meet other problems with this as you will discover paging issues with the lists when the number of records go over the 'paging' number.

    There are articles that describe building QuickLook pages in ASP and the .NET APIs.

    If you are in the context of the company then the easiest way of creating a quicklook replacement is to use the company dashboard and create your own list gadgets.