28 November 2007

How to change the width of Queue Title column?

QueueItem and its Views are not customizable in CRM v3.0, one requirement was make the Title column wider then users can see more information. (The Title column contains subject of activities/cases)
By default, Title column width = 300px, so how to change it to 500px? Here's my soluiton:

/*
../workplace/home_workplace.aspx
Make the queue title column width = 500px
*/

//1. Edit CRMWeb/workplace/home_workplace.aspx, add a new JavaScript function call: titleWidth()
function titleWidth()
{
var barCols = document.getElementById("crmGrid_gridBarCols");
barCols.getElementsByTagName("COL")[2].width = 500;
crmGrid.Refresh();
}

//2. Call this function from the existing nodeSelect() and window.onload().
function nodeSelect( sQueueId, sViewId, sMenuId )
{
......
titleWidth();
}

function window.onload()
{
......
titleWidth();
}

7 comments:

Anonymous said...

Hi

i have a question.
How to insert column like createdby or emailaddres in Queues?

Thank you

Best regards
Thom

Anonymous said...

Hi

Success!!
I found it:
to change or to insert column in queues you had to follow this URL

http://crm/tools/viewEditor/viewManager.aspx?id={00000000-0000-0000-00AA-000010001400}

(please change //crm/ to your servername)

But don´t know how to insert regardingobjectid.

Have you a Idea?

Best regards
Thom

Anonymous said...

Hi

How to modified the column createdon (datetime) in activities, that show date and time. Because now it show only short date.

best regards

thom

Unknown said...

is there a way to ajust the width through a Java script

Anonymous said...

Thom,

I have noticed that you have been looking for a solution to show Date and Time for the queues on a few blogs.

After a bit of digging, I found out how to make "QueueItem" customisable under Customize Entities.

if you go into SQL Query Analyser, and then perform the following SQL command, you will magically find Queue Item in your list of cusomizable entites...

here's the SQL code .....

use {databasename}
update dbo.EntityLogicalView
set IsCustomizable = '1'
where Name = 'QueueItem'

... It's as simple as that - scary eh. It was driving me nuts also...

Best regards,
Ron

Anonymous said...

酒店經紀PRETTY GIRL 台北酒店經紀人 ,禮服店 酒店兼差PRETTY GIRL酒店公關 酒店小姐 彩色爆米花酒店兼職,酒店工作 彩色爆米花酒店經紀, 酒店上班,酒店工作 PRETTY GIRL酒店喝酒酒店上班 彩色爆米花台北酒店酒店小姐 PRETTY GIRL酒店上班酒店打工PRETTY GIRL酒店打工酒店經紀 彩色爆米花

Anonymous said...

The rising of education cost became more expensive and this is so difficult to get education in on-campus system. Now, we are introduced online writing services in which you can get help for every type of your assignment work.http://www.finalproject.org/list-75-best-capstone-topics/