How to make the CONTACT field wider in a new incident
Updated: 22 May 2010 | 4 comments
This issue has been solved. See solution.
Our helpdesk supervisor has requested contact name, location, telephone extension and department to be added to the CONTACT field when creating a new incident. I have managed to do as asked but the CONTACT field itself is too small to display the information in full when creating a new incident. Can anyone tell me what I need to edit to increase the size of the CONTACT field. I have looked at workitemedit.ascx and subworkitemedit.ascx but cannot work out what I need to edit to increase the size.
Many thanks for help.
discussion Filed Under:
Comments
I think you can increase the
I think you can increase the width on the dropdown directly. It is on line number 617.
It looks like this:
<aw:DropdownList ID="ddlContactQuickFind" RunAt="server" PreserveItems="true" DataBindMode="GetData" DataSourceName="ContactsQuickFind" DataTextField="contact_display" DataValueField="contact_id" ItemDataSourceName="Contact" ItemDataField="contact_id" OnSelectedIndexChanged="DoContinue" AutoPostBack="true" Width="300">
- Matt
contact field width
huge thanks - worked a treat!
How to add to the drop-down
I see you were able to change the width, but how do I actually add to that drop-down? I'm not sure of the syntax needed in the WorkitemEdit.ascx file. Any help would be greatly appreciated! Thanks!
Nick Morea
Altiris Certified Engineer
How to add to the drop-down...
Our contact information such as location, email, phone is imported from our LDAP directory. Then I formatted the formats.xml file and edited the following lines to look like this:
<string id="sidContactDisplayFormat">{0} - {1} - {2} - {3}</string>
<string id="sidContactFormatFields">contact_name,contact_phone,contact_location,contact_email</string>
then had to widen the contact field as suggested above to display all the required information neatly.
Hope this helps.
Would you like to reply?
Login or Register to post your comment.