Jump to content

cdtj

Members
  • Content Count

    640
  • Joined

  • Last visited

  • Days Won

    29

cdtj last won the day on September 17

cdtj had the most liked content!

Community Reputation

29 Excellent

About cdtj

  • Rank
    Level 7 Contributor
  • Birthday 01/01/1970

Contact Methods

  • Skype
    cdtj71

Profile Information

  • Location
    pdm_halt
  • Interests
    looking for a fulltime job or remote one

Recent Profile Visitors

1,378 profile views
  1. try to replace summary input with textarea (add rows into dtlMacro).
  2. hi, you can try to trim enter chars on ticket creation: trigger type: POST_VALIDATE spl: summary = gsub(summary, "\n", "");
  3. Hi! Copying attachments is possible using spel, here is example: https://communities.ca.com/message/241829709 i'm not sure about props (there could be some flag in options to keep them), and as props are defined using web form you can also try to define followed inputs: <input type="hidden" name="SET.prop0.value" value="$args.prop0.value"> <input type="hidden" name="SET.prop1.value" value="$args.prop1.value"> <!-- and so on --> Regards, cdtj
  4. Hi, is that code part from line 46? you can try to add: int msg_i; if (msg_error()) { for (msg_i = 0; msg_i < msg_length(); msg_i++) { logf(ERROR, "%s > msg[%d]: %s", persistnet_id, msg_i, (string)msg[msg_i]); } } else { for (msg_i = 0; msg_i < msg_length(); msg_i++) { logf(SIGNIFICANT, "%s > msg[%d]: %s", persistnet_id, msg_i, (string)msg[msg_i]); } } after send_wait call to get more detailed log. Regards.
  5. So you can directly ask Daniel, hope he'll help you. He's a friendly guy Another place to contact him: https://communities.ca.com/people/daniel-bighelini
  6. hi, have seen an example in SDU Brasil: https://www.facebook.com/groups/usuariossdmbrasil/permalink/1950265271671044/
  7. hi have you checked log for errors? I had something similiar when rest services wont start without any reason so i redeployed them using pdm_rest_util -deploy command found here: https://comm.support.ca.com/kb/while-trying-to-deploy-the-service-desk-manager-rest-api-an-error-is-received-the-system-is-out-of-resources/kb000019810
  8. cdtj

    Show Filter button

    Hi, check button option for sfStart macro: https://support.ca.com/cadocs/0/CA Service Desk Manager 12 9-ENU/Bookshelf_Files/HTML/CA_SDM_Web_Screen_Painter_Help_ENU/index.htm?toc.htm?sfstart.html Regards.
  9. hi, try to add +HTMPL=z_detail_called.htmpl to your url. regards.
  10. hi, try this one: function zAlgPopup(aty, htmpl) { var alg_url = window.cfgCgi + "?SID=" + window.cfgSID + "+FID=" + window.fid_generator() + "+FACTORY=cr" + "+PERSID=" + window.argPersistentID + "+OP=UPDATE+ACTIVITY_LOG_TYPE=" + aty; if (typeof(htmpl) == "string") { alg_url += "+HTMPL=" + htmpl; } popupActivityWithURL(alg_url); } <PDM_MACRO name=button Caption="Log Comment" Func="zAlgPopup('LOG', 'detail_alg_edit.htmpl')" hotkey_name="LOG[G]" ID="LOG"> button should located between dtlForm and dtlStart.
  11. cdtj

    URGENT !! Blank Notification Issue!!

    if youre triggering notification from Activity you should access fields through related object, eg: @{call_req_id.description} (or change_id, or issue_id) but if youre triggering from Event, it populating notification directly from itself, so you can access attributes directly: @{description} @{summary}, etc.
  12. cdtj

    Cab Approval

    you need to know: - spel basics; - vanilla javascript, jquery basics. I have list of tasks like Approval, Implementation, User testing, etc. Then I have registered trigger for that tasks, once task switch status from WAIT to PEND, trigger fires some activity to change chg's status. Whole logic contains ~2000 lines of spel and js code.
  13. cdtj

    Cab Approval

    hi, in our env we have implemented behaviour when Change's status can't be changed manually and depends by current tasks. So chg will not go furthur until all tasks for specified status will be completed. Regards, cdtj
  14. sound like a huge security issue and would be better if CA fix it globally, could you open a CA Support ticket about this? ca sdm uses javascript to generate inputs, so you can manually modify form generating script (detail_form.js or something like that) and replace unwanted tags with spaces using RegEx.
  15. you can redefine create button using sfStart pdm_macro: https://docops.ca.com/ca-service-management/14-1/en/building/building-ca-service-desk-manager/using-the-web-screen-painter-wsp/pdm-macro-definitions#PDMMacroDefinitions-sfStartas I remember you need to pass own javascript function as extraCreateURL, ex: <PDM_MACRO name=sfStart extraCreateURL="zCreateBREL"> function zCreateBREL() { create_new('z_table', <few attrs like window height/width>, 'PRESET=z_chg:$args.KEEP.chg_id'); } Its a good practice to use KEEP array to pass through id from main form to tab: <PDM_MACRO NAME=tab SRC="OP=SEARCH+FACTORY=z_table+KEEP.chg_id=$args.id...<some_other_params>">
×