Home    Forums    Feature Requests    Beta Issues    SysAid Resources    Documentation    Support
Hello Guest,  Login   
        
DOWNLOAD FREE EDITION
    
     Recent Topics    Hottest Topics    Online Members    Member Listing    Advanced Search
Sysaid 8.5 adding two (2) custom list in the activities form for incidents  XML
Forum Index » SysAid Installation & Beyond
 
Author Message
Allan
SysAider

SysAider from release 7.5 Canada
Joined: 10/01/2012
Messages: 2
Offline

Hi everyone,

I foud a topic that worked fine with adding a custom list in the activities. I used as well the getCustList1Caption() option to get the information in my new field.

I started to have problems when i tried to add a second custom field in the activities.

So i followed the instructions for adding my second field like for the first one, added the lines in the script and everything works ok except that the caption of the second field i added returns the value of my first custom list field..... ?????

my custom fields are cust_list1 and cust_list2.

Allan
SysAider

SysAider from release 7.5 Canada
Joined: 10/01/2012
Messages: 2
Offline

Sorry .. here is my code :

<table dir="$resource.getString('dir')">


<tr>
<td class="Form_Ctrl_Label" ><label> $resource.getString('user'):</label></td>
<td class="Form_Ctrl_Fields"><table><tr>$frm.printControl('user_name', true, true, null)</tr></table></td>
</tr>

<tr>
<td class="Form_Ctrl_Label" ><label> $resource.getString('SRWorkTime.startTime'):</label></td>
<td class="Form_Ctrl_Fields"><table><tr>$frm.printControl('from_time', true, true, null)</tr></table></td>
</tr>
<tr>
<td class="Form_Ctrl_Label" ><label> $resource.getString('SRWorkTime.endTime'):</label></td>
<td class="Form_Ctrl_Fields"><table><tr>$frm.printControl('to_time', true, true, null)</tr></table></td>
</tr>

<tr>
<td class="Form_Ctrl_Label" ><label> $resource.getString('SRWorkTime.cust_list1'):</label></td>
<td class="Form_Ctrl_Fields"><table><tr>$frm.printControl('cust_list1', true, true, null)</tr></table></td>
</tr>

<tr>
<td class="Form_Ctrl_Label" ><label> $resource.getString('SRWorkTime.cust_list2'):</label></td>
<td class="Form_Ctrl_Fields"><table><tr>$frm.printControl('cust_list2', true, true, null)</tr></table></td>
</tr>


<tr>
<td class="Form_Ctrl_Label" ><label> $resource.getString('SRWorkTime.total'):</label></td>
<td class="Form_Ctrl_Fields"><table><tr>$frm.printControl('totalTime', true, true, null)</tr></table></td>
</tr>

<tr>
<td class="Form_Ctrl_Label" ><label> $resource.getString('description'):</label></td>
<td class="Form_Ctrl_Fields"><table><tr>$frm.printControl('description', true, true, null)</tr></table></td>
</tr>
<tr>
<td class="FieldBox" >$addButton</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>





<tr>
<td colspan="2">

<div class="Maxed_Width">
<table class="Grid">
<tbody>
<tr>
<td class="Grid_Body">
<div class="GridScroller">
<table id="t" class="Grid_Data">
<tbody>
<tr class="Grid_Headers">
<th style="cursor:text;">$resource.getString('user')</th>
<th style="cursor:text;">$resource.getString('SRWorkTime.startTime')</th>
<th style="cursor:text;">$resource.getString('SRWorkTime.endTime')</th>
<th style="cursor:text;">$resource.getString('SRWorkTime.total')</th>
<th style="cursor:text;">$resource.getString('SRWorkTime.cust_list1')</th>
<th style="cursor:text;">$resource.getString('description')</th>
<th style="cursor:text;">$resource.getString('SRWorkTime.cust_list2')</th>
<th style="cursor:text;">$resource.getString('SRWorkTime.action')</th>
</tr>
#foreach( $activity in $activities )
<tr >
<td class="Form_Ctrl_Label">$activity.user</td>
<td class="Form_Ctrl_Label">$dateFormat.format($activity.fromTime)
$timeFormat.format($activity.fromTime)</td>
<td class="Form_Ctrl_Label">$dateFormat.format($activity.toTime) $timeFormat.format($activity.toTime)</td>
<td class="Form_Ctrl_Label">$activity.totalTimeStr</td>
<td class="Form_Ctrl_Label">$activity.getCustList1Caption()</td>
<td class="Form_Ctrl_Label">$activity.description</td>
<td class="Form_Ctrl_Label">$activity.getCustList2Caption()</td>
<td class="Form_Ctrl_Label">
<table class="Button3Parts" onclick="sract_ExecuteDel('$activity.id')">
<tbody class="Purple">
<tr class=" - state - ">
<td class="ButtonFirst"> </td>
<td class="ButtonLabel">
<span>$resource.getString('delete')</span>
</td>
<td class="ButtonLast"> </td>
</tr>
</tbody>
</table>

</td>
</tr>
#end
<tr >
<td class="Form_Ctrl_Label" colspan=3><div align="center">$resource.getString('SRWorkTime.total')</div></td>
<td class="Form_Ctrl_Label">$grandTotal</td>
<td class="Form_Ctrl_Label" colspan=2> </td>
</tr>



</tbody>
</table>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3" class="Grid_Footer">
<table class="Maxed">
<tbody>
<tr>
<td class="Footer_Left"> </td>
<td class="Footer_Center"> </td>
<td class="Footer_Right"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tfoot>
</table>
</div>
</td>
</tr>
</table>
Joseph Zargari
VP Customer Relations


Meet me in Vegas - SysAid technology Conference - 28-30/4/2010
Joined: 26/03/2006
Messages: 516
Offline

Hi Allan,

The getCustList2Caption() should get you the caption of the value, instead of the numeric key. I think SysAid 8.5 has a bug that causes it to show the numeric key.
Please submit a service request with your account manager to confirm the bug and get notified when fixed.

Thanks,
Joseph.
DBlasius
SysAider

SysAider from release 7.5 Hungary
Joined: 08/01/2012
Messages: 4
Offline

Hi all!

Is any solution?
I have the same problem. Everything is OK, except the "$activity.getCustList2Caption()".

Please send me some information about the solution.
Thanks
[Email]
ales_krestan
SysAider

SysAider from release 7.5 Czech Republic
Joined: 08/07/2011
Messages: 2
Offline

Hi, I know it is a stupid question, but where do I find the option to edit the HTML code snippet for Activity form?

Thanks

Regards

A.K.
Joseph Zargari
VP Customer Relations


Meet me in Vegas - SysAid technology Conference - 28-30/4/2010
Joined: 26/03/2006
Messages: 516
Offline

Hi A.K.
The HTML code that affects activities is in Customize > Forms. In some editions, it may appear in Customize > Entities > Service Request > Activities > Advanced tab instead.

Thanks,
Joseph.
Forum Index » SysAid Installation & Beyond
Go to:   
Help Desk Software
Free Help Desk Software
Free Asset Management Software
SysAid Helpdesk Software
Web Based Help Desk Software
SysAid Help Desk Forum
General IT Discussion Forum
SysAid CSS Customer Service Software
Customer Support Software
   SysAid Technologies Ltd.
   Toll-Free phone center (U.S.): 1-800-686-7047
   Offices - U.S.617-231-0124
   Israel:+972-3-533-3675
   Email:helpdesk@sysaid.com
   Optimized by SEO Israel
   SysAid logos and other SysAid Technologies marks
   are trademarks or registered trademarks of
   SysAid Technologies Ltd.
   All Rights Reserved by SysAid Technologies Ltd.
   2002-2011
   Live Support Hours
   07:00 AM - 09:30 PM (UK)
   03:00 AM - 05:30 PM (EDT)

   We provide worldwide services, and we do our best
   to match the working times of customers from
   different time zones.

   SysAid Help Desk Software and Asset Management Software
Privacy Policy © Terms Of Use