Home     |     MS SQL Server    |     MS SharePoint    |     MS Visual Studio    |     MS Certifications    |     MS CRM     |     MS Office    |     MSF


Cervo Technologies
The Right Source to Outsource

microsoft.public.crm

Hide New Template button in Campaign


Hi,

Can I hide the "New Template" button that is present in Campaigns?
If so, how can i do it.

You can hide almost every single element on the page. However, this is
unsupported way to achieve the result.
First challenge is to find the HTML element id. Press Ctrl+N to open
the current page in the new window, then view the HTML source. Search
for the element id, then use the following javascript to hide the
button.

var el = document.all.getElementById('elementid');
if (el != null)
{
    el.style.visibility = 'hidden';
    el.style.position = 'absolute';

}

The javascript is to added to the Form_Load event.

On May 14, 4:09 pm, Chaitanya <Chaita@discussions.microsoft.com>
wrote:

You can also download the IE Dev Toolbar which helps you identify the
element id of a button in a more visual manner:

http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672...

Jeremy
http://crmjunkie.blogspot.com

On May 14, 3:48 am, volvere <henr@gmail.com> wrote:

We need to hide "New template" button of Campaign in the main window but not
in the form load. Hence,  by writing java script in the form load will not
suffice. If there is any other way, do inform me.

kiran.

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc