| Author |
Message |
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 27/04/2009 09:06:11
|
Haim
SysAider
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 |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 27/04/2009 15:56:52
|
jlavetan
SysAider

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.
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 29/04/2009 09:23:33
|
Haim
SysAider
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 |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 12/06/2009 17:54:06
|
Richnep
Super SysAider
Joined: 12/06/2009
Messages: 60
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>
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 14/06/2009 02:54:40
|
Haim
SysAider
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 |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 18/08/2009 15:00:57
|
myjunkiepc
SysAider
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!
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 20/08/2009 03:08:29
|
Haim
SysAider
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 |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 20/10/2009 14:34:14
|
Ricci
SysAider
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..
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 28/10/2009 19:23:54
|
sqitis
SysAider

Joined: 23/06/2009
Messages: 22
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
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 29/10/2009 23:50:26
|
SysAid#1
SysAid Mod

Joined: 02/11/2008
Messages: 702
Offline
|
Ricci,
I would suggest you contact support. They will be able to give you accurate instructions for this one.
Cheers
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 02/11/2009 05:02:38
|
SysAid#1
SysAid Mod

Joined: 02/11/2008
Messages: 702
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??
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 03/11/2009 15:11:18
|
AVAce007
SysAider

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. |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 04/02/2010 14:30:18
|
Giga
SysAider

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
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 04/02/2010 17:40:24
|
SysAid#1
SysAid Mod

Joined: 02/11/2008
Messages: 702
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
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 19/05/2010 09:04:30
|
dxvxd
SysAider
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.
|
|
|