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
How to - add additional fields to the "submit service request" page  XML
Forum Index » FAQ
 
Author Message
Haim
SysAid Wiz

Joined: 15/04/2008
Messages: 2449
Offline

Hey scumgrief,

The instructions for version 6 has not been changed.
The default fields were always built on a different way since the way we recommend adding the fields provide more customization options.

Best regards.
Haim

Pushing IT forward
jlavetan
SysAider


SysAider from release 7.5 United States Pathfinder
Joined: 27/04/2009
Messages: 10
Location: Mountville, Pennsylvania
Offline

What about adding fields based on selected category?

For example:

Category: HR
Sub-category: New Employee

Extra fields would be displayed if new employee should have email, voicemail, etc.



Category: HR
Sub-category: Remove Employee

Extra fields would be displayed to give options to remove email, voicemail etc.


Haim
SysAid Wiz

Joined: 15/04/2008
Messages: 2449
Offline

Hello jlavetan.

If you wish to add specific texts to the End User Portal depending on which category or subcategory is selected, please edit the submit-service-request.htm file and change the following lines where you want the texts to appear:

Exchange the "Category" and/or "Subcategory" for the categories you want it to appear on.

#if($sr.getCategory()=="Category")
Text to show when you select the above category
#else
$sr.getCategory()
#end

#if($sr.getSubCategory()=="Subcategory")
Text to show when you select the above subcategory
#else
$sr.getSubCategory()
#end

Note: You need to put these blocks of code after the code for the category drop-down. Otherwise, the “if” statements will not know which category is selected and nothing will be done.

Best regards.
Haim

Pushing IT forward
Richnep
Super SysAider

SysAider from release 6 United States
Joined: 12/06/2009
Messages: 61
Location: USA
Offline

Hi -


I added a field called "Call Back Number" with a blank text field. The only difference from the example is the bold CALL BACK NUMBER in the code. Without it I was getting just the colons for a field label.


<tr>
<td class="Form_Ctrl_Label"><label>
$resource.getString('CallBackNumber')Call Back Number:</label></td>
<td> </td>
$frm.printControl('cust_text1', true, true, '')
</tr>
<tr><td height="10"> </td></tr>
Haim
SysAid Wiz

Joined: 15/04/2008
Messages: 2449
Offline

Hello Richnep.
Welcome to the SysAid community.

Please try to use the below syntax to add the "custom test 1" field.

<tr>
<td class="Form_Ctrl_Label"><label>
$resource.getString('sr.cust_text1')</label></td>
<td> </td>
$frm.printControl('cust_text1', true, true, '')
</tr>
<tr><td height="10"> </td></tr>

To change the name of the field, please edit the translation file under preferences > customize > translate, save the file on your machine, edit it and look for the phrase "'sr.cust_text1" which you can change to any name you would like and then upload the file back to SysAid to apply the changes.

Best regards.
Haim

Pushing IT forward
myjunkiepc
SysAider

SysAider from release 6 United States
Joined: 13/05/2009
Messages: 29
Location: Los Angeles, CA
Offline

Hello,
Did this change in SysAid version 6.0.09? Whenever I add the new path to Preferences > Customize > Appearance and make the changes to submit-service-request.htm I never see any of my updated changes.

I'm simply trying to change the Urgency field to the Priority field.

Any help would be greatly appreciated.

Thanks!
Haim
SysAid Wiz

Joined: 15/04/2008
Messages: 2449
Offline

myjunkiepc ,

I'm not sure why it is not working for you, please make sure you typed the full local path to the folder you have the custom HTML files and not to the exact file.

If this is the way you configured it, please contact our support at helpdesk@SysAid.com so we will be able to further assist you.

Best regards.
Haim

Pushing IT forward
Ricci
SysAider

SysAider from release 6
Joined: 22/08/2009
Messages: 5
Offline

HELP!!!

How do I set a default Category and SUB category???

I tried this:

<tr>
<td class="Form_Ctrl_Label"><label>
Category:</label></td>
<td> </td>
$frm.printControl('problem_type',true,true,'Computer Problem') ; $frm.printControl('problem_sub_type',true,true,'General')
</tr>
<tr><td height="10"> </td></tr>

but it didn't work..
sqitis
SysAider


SysAider from release 7.5 United States
Joined: 23/06/2009
Messages: 24
Offline

Richnep wrote:Hi -


I added a field called "Call Back Number" with a blank text field. The only difference from the example is the bold CALL BACK NUMBER in the code. Without it I was getting just the colons for a field label.


<tr>
<td class="Form_Ctrl_Label"><label>
$resource.getString('CallBackNumber')Call Back Number:</label></td>
<td> </td>
$frm.printControl('cust_text1', true, true, '')
</tr>
<tr><td height="10"> </td></tr>


Hello, just curious to know if this worked in the End User Portal and if so where did you insert the string?

Thanks,
Jayson
SysAid#1
SysAid Mod


SysAider from release 6.5 Australia Pathfinder
Joined: 02/11/2008
Messages: 716
Offline

Ricci,

I would suggest you contact support. They will be able to give you accurate instructions for this one.

Cheers
[Email]
SysAid#1
SysAid Mod


SysAider from release 6.5 Australia Pathfinder
Joined: 02/11/2008
Messages: 716
Offline

Have you also tried to use the #If as suggested.

The customization in the "submit-service request" form is flexible. You should be able to get it going the way you want. have you asked for help from the support team??
[Email]
AVAce007
SysAider


SysAider from release 6 United States Pathfinder
Joined: 09/09/2009
Messages: 11
Location: Phoenix, AZ USA
Offline

This thread has been very helpful. However, after implementing an initial request to remove some fields, my manager wants to add part of the field list back. Let me explain:

I was asked to remove the category fields (Category, Subcategory, Tertiary Category). The rationale behind this was that our users struggle to select appropriate categories for their tickets (hence my signature). I sucessfully implemented this by removing the following block of code from the submit-service-request.htm file:

After reviewing the changes, I was asked to put the first category (Category) back on the page. I guess my manager felt the users could select the right primary category. So, I removed the tags for Subcategory and Third Category thinking this would remove the 2 extra combo boxes from the form. So the block read like this:

To my surprise, all three were still there. What can I do to hide the Sub Category and Third Category fields? Keep in mind that I do not want to disable the Third Category completely since our administrators will be using this to provide the necessary detail for reporting on our service requests. Also note, I verified the usual: Updated the Templates, I restarted the server, restarted my browser, deleted all browser cache and refreshed the page to make sure IE was not caching the old view.

Thanks in advance!

This message was edited 1 time. Last update was at 03/11/2009 15:14:36


> SELECT * FROM Users WHERE Clue > 0
0 Rows Returned.
Giga
SysAider


SysAider from release 6.5
Joined: 21/01/2010
Messages: 1
Offline

THis instructions does not seems to work for me on 6.5.06

I'm trying to add the User Custom List 1 to the Service Request page and I can't or this is not working. I have been trying to do it the same way as the department

#if( $attributes.indexOf("department") > 0)
#set( $cnt = $cnt+1 )
#set( $row = ($cnt % 2)+1 )
<tr align="$rb.getString('dir.left')">
<td > </td>
<td class="Form_Ctrl_Label"><label>$rb.getString('user.department'):</label></td>
<td class="Form_Ctrl_Label"><label>$esc.escapeTextHtml($lists.departments.getCaption( $user.department), $charset)</label></td>
<td> </td>
</tr>
#end

I just want to add the user.cust_list1 to the service request page for read
SysAid#1
SysAid Mod


SysAider from release 6.5 Australia Pathfinder
Joined: 02/11/2008
Messages: 716
Offline

You can use this as an example.

<tr>
<td
class="Form_Ctrl_Label"><label>$resource.getString('sr.cust_list1'):</label></td>
<td> </td>
$selectSrList1

This message was edited 2 times. Last update was at 04/02/2010 17:41:04

[Email]
dxvxd
SysAider

SysAider from release 6.5 Mexico
Joined: 14/05/2010
Messages: 6
Offline

Haim wrote:Hello jlavetan.

If you wish to add specific texts to the End User Portal depending on which category or subcategory is selected, please edit the submit-service-request.htm file and change the following lines where you want the texts to appear:

Exchange the "Category" and/or "Subcategory" for the categories you want it to appear on.

#if($sr.getCategory()=="Category")
Text to show when you select the above category
#else
$sr.getCategory()
#end

#if($sr.getSubCategory()=="Subcategory")
Text to show when you select the above subcategory
#else
$sr.getSubCategory()
#end

Note: You need to put these blocks of code after the code for the category drop-down. Otherwise, the “if” statements will not know which category is selected and nothing will be done.

Best regards.
Haim



Hi Haim...

Wich exactly is the code for the "category drop-down" in order to put my code below...

Thanks in advance.
Forum Index » FAQ
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