Jump to content

sharabi

Members
  • Content Count

    33
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sharabi

  • Rank
    Level 3 Contributor
  1. Hello mikelm, I created an HTML template file and in the code I read this file with text reader methods and use this text as messageBody in the method. When I check the received mail, it is in plain text format and html tags are ignored. You can see the mail content below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Vodafone Net</title> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } body,td,th { font-family: Arial, Helvetica, sans-serif; } </style> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="15%"> </td> <td colspan="2"> </td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td width="52%" align="right" valign="bottom"><strong>2/4/2013 8:43:09 AM</strong></td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"> </td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"><p><strong>test mesajı</strong><strong></strong></p></td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"> </td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"><b>Saygılarımızla,</b></td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"> </td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"><b>Vodafone Net İletişim Hizmetleri A.Ş.</b></td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"> </td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td width="15%"> </td> </tr> <tr> <td width="15%"> </td> <td colspan="2"> </td> <td width="15%"> </td> </tr> </table> </body> </html>
  2. Hello, We are sending e-mail notifications to customers in some situations. For some reasons we couldn't use notification macros and created a code using ServiceDesk web service to send notifications. Code use "notifyContacts" method in the web service. We want to send HTML formatted e-mails with this method but couldn't succeed in it. How can HTML formatted mails can be send with notifyContacts method? Thanks, Umut
  3. Hello, Thank you for your interest. Is there a solution to change it from the corresponding htmpl file via javascript. I saw an example using ("LIST_ALL") javascript function but I don't know the usage of this. How can we call it in the hmtpl file? Thanks, Umut
  4. Hello, We are using r12.6 version of ServiceDesk. There are some change order categories having more than 25 workflow tasks. In these Change orders' detail pages, you should click "View all" button to see all workflow tasks in one page. Is there a solution to see all workflow tasks in one page without any need to click "View All" button. Thanks, Umut
  5. Hello, I want to add a notification rule to "Initial" activity for Requests/Incident/Problems to send mail to the all contacts of CI's responsible organization. As I know,contacts have a BREL relation with CI. That's why I cannot add a static definion for these contacts into the "Object Contacts" of the notification rule. Is there anyone who has been able to notify all contacts in the responsible organization of CI for "Initial" activity. Thanks, Umut
  6. Hello, What should we do if needed an attribute of the selected value. For example, how can we get the "code" attribute for the workflow task object that is selected in the dropdown menu. I tried, var newStat=document.getElementsByName("SET.status.code")[0].value; but it did not work:(
  7. Thank you very much for your help DeanOusterhout. It worked well.
  8. Hello DeanOusterhout, Do you mean that the ID of the "Status" drop-down field in "detail_iss_wf.htmpl" is "Summary_ID"? I tried waht you said but it did not work:(
  9. Hello, In for example detail_iss_wf.htmpl file, I want to get the value "status" dropdown field. I will use it in preSaveTrigger() function for some controls. How can I do it? Should I use "document.getElementById"? If so how can I find the correct id? Thanks, Umut
  10. Hello, This works well and it is a very important function to check some conditions before saving without writing macros,spls. Thank you all.
  11. Hello Mitu, I actually do not know how to call a custom script in a notification rule. When defining a new notification rule, we have specify a "Message Template". And all you can define is an e-mail content,as I know,whether you set notify level to "High". Where do we have to specify that we will call another script,not send an e-mail? Thanks, Umut
  12. Hello, We are sending SMS notification messages after closure of the ticket. How can I trigger a script for closure activity instead of attaching events? Thanks, Umut
  13. Hello mbraemer, Thank you for your opinion but in my case, tickets are opened&closed via NSM Integration. So, analysts do not manually create closed tickets. The interesting thing is, two different problem objects having same criteria(affected end user,affected resource etc.),but one has successful events-other one has cancelled events. This is very confusing. Umut
  14. Hello, I'm running a script for "Close" activity for R/I/P with "Run the Event Script" macro. An event is triggered after "Close" activity with a 00:00:07 delay. This works correct but not always:( Sometimes this event seems "Cancelled" when I check the event history. But sometimes it is seems "Completed". What can cause an event to "Cancel"? Does anyone have any idea? Thanks, Umut
  15. Hello, With that update macro transfers the issue successfully,thanks. But I have another problem. I wrote another spl code for preventing the update of workflow task while issue is unassigned. .mod file is: MODIFY iss_wf POST_VALIDATE zisswf_kontrol2() 48 FILTER(status == 'IKNEDILEMEDI'||status=='IKNAEDILDI'); .spl file is: iss_wf::zisswf_kontrol2(...) { send_wait( 0, this, "get_attr_vals", 1, "iss.assignee.last_name"); string assig; assig=msg[3]; logf(SIGNIFICANT,"Assignee is:%s",assig); if(is_null(assig)) { set_return_data(0, format("%s", "Issue is unassigned.")); set_error(1); return; } } While this spl file is on, the other macro does not transfer the issue. When I remove this .spl and .mod files and recycle SD and test the mecro,the issue is transferred successfully. There is something conflicting with these two modifications but I cannot find it:( Do you see any problem with them? Thank you very much, Umut
×
×
  • Create New...