Jump to content

mark.wheeler@iag.com.au

Members
  • Content Count

    22
  • Joined

  • Last visited

Everything posted by mark.wheeler@iag.com.au

  1. Thanks Mitu. It doesn't work unless I prefix propFormName with "windows." as follows: if (window.propFormName == "list_pr.htmpl" && menuName == "idDetailsMenu" && itemName == "Research...") return "Current Update..."; I'd like to do the same thing for Activities --> Research... in detail_pr.htmpl. I tried using the same code in function siteMenuitemMod(menuName, itemName) but it doesn't work. I then tried doing the mod in menubar_sd.htmpl but I can't make it any more granular than factory = 'cr' because it doesn't recognise factory = 'pr'. Any ideas?
  2. Hi, Our system is r12.1 with cumulative patch #2 (RO12848 and RO12850) and RO11972. My requirement is to rename the "Research..." activity to "Current Update..." in the context menu for list_pr.htmpl. The context menu I'm referring to is the list of activities that appear when you hover over a problem ref num in list_pr.htmpl. I've used the following code in sitemods.js but it renames the activity in search lists for all ticket types. How can I rename it for list_pr.htmpl only? function siteContextMenuitemMod(menuName, itemName) { if (menuName == "idDetailsMenu" && itemName == "Research...") return "Current Update..."; } Fyi, the usage of this function is documented in F:\Apps\CA\Unicenter ServicePlus Service Desk\sdk\scripts\sitemods.js Thanks
  3. Has anyone been able to successfully use role id in spel. We have some requirements which need to be differentiated by the analysts role in 12.1
  4. Thanks for all your help. This has been resolved. The reason for it not working is that the field z_created_group_id is also being populated by a post validate trigger and the order was not correct.
  5. Hi Guys Maybe I asked the wrong question. How do you know to use '6' or '3' ? Is there a definition of what each index of msg contains? Is the comparison of zreportedbygroupid == "DA6554CB9B6FA14F87A671472502009A" correct? You asked me to cast msg[6] to a string, but is putting the uuid as hex in quotes the correct syntax? The datatype of a contact's uuid in the database is "binary(16)", ie not a string. when doing (string)msg[6], is this binary value being converted to Hex string? or something else?
  6. Thanks Mikelm, Yes this is SREL to the contact. When using your code, it gives us a ticket UPGRD123456, even when the reported group is DA6554CB9B6FA14F87A671472502009A. We are trying to identify what "msg[6];" is, is this defined anywhere?
  7. Hi all been trying to use the WIKI for adding prefix to the ref_num Separate Prefixes for Requests, Incidents, and Problems Instead of using type to distinguish this we are using a custom field z_created_by_group_id which uses a UUID. The code we are using is below. CODEcr::zcrprefix(...) { string str_ref, zreportedbygroupid, zref_num; send_wait( 0, this, "get_attr_vals",2,"ref_num","z_created_group_id"); zref_num = msg[3]; zreportedbygroupid = msg[6]; //Replace the I P R below if you want different prefixes if ( zreportedbygroupid == "cnt:DA6554CB9B6FA14F87A671472502009A" ) { str_ref = format("CGU%s", zref_num); } else if ( zreportedbygroupid != "cnt:DA6554CB9B6FA14F87A671472502009A" ) { str_ref = format("UPGRD%s", zref_num); } else str_ref = format ("%s",msg[6]) + format("test%s", zref_num); send_wait(0, this, "call_attr", "ref_num", "set_val", str_ref, "SURE_SET"); The following code executes without error, but only ever runs the Else condition of the code. The If and Else If lines are not working, I believe that we are incorrectly referencing the UUID
  8. Hi All Wanting to know if anyone has tried to and had success with making contacts public for multi tenancy use. We are looking to use multi tenancy, our situation is that we have multiple service desks wishing to share contacts. Thanks in advance
  9. Was wondering if anyone has been able to partition Knowledge access by Access type ie we would like to stop our employees from viewing technical documents. I know we can do this by groups, however this does not assist in this instance.
  10. Still no luck after recycling services and server. Have logged an issue with CA and they have not found a solution.
  11. Sorry Mitu, should have explained, I have have full admin access with no security restrictions. I am sending the email to maileater and as administrator should have no issues. My access is exactly the same as our DEV envirinment in which this works. our email address are name@company.com.au (you@yourcompany.com was just an example email address)
  12. Have set up maileater in our DEV environment, works perfect after a few niggling issues. Finally put it into PROD and we get: AHD58045: Because of security restrictions, you are not allowed to complete this operation. Ask your security administrator for access. Cannot continue processing! Now I know this has been mentioned before in earlier threads, but as far as I can tell, it is not being caused by duplicate email address's. the error in the stdlog is: User (you@yourcompany.com) not authorized to modify factory (cr) The email address was because I tried -m you@yourcompany.com, but we get the same msg when I or my colleague send the email. I am at a loss as to the cause of this. Please help.
  13. Hi AKM. I have recreated doing a transfer with same result, refer attached. Cheers Wheels Transfer_assignee.doc
  14. This appears to work out of the box for us, so not sure what is different at our site. We are using 11.2 after upgrading from 6 12 months ago. I have attached some screen shots to show you how it works I have checked our NX.env, Magic files and can find nothing on how this works. Not sure why it does not work at other sites. Assignee.doc
  15. I think the above is a red herring, I think we still have an issue with a customised field z_caller_id. We have added this into the text_api.cfg in the KEYWORDS using the following: REQUEST.z_caller_id=z_caller_id.UUID.lookup_cnt_by_last_first_middle Then in the EMAIL_DEFAULTS added: REQUEST.z_caller_id=wheeler, mark I have even tried adding most of the information as defaults REQUEST.PRIORITY=2 REQUEST.CATEGORY=BAU Activity.Support Services REQUEST.IMPACT=Low REQUEST.Urgency=Low REQUEST.Type=R REQUEST.GROUP=USD_ADMIN And the format the email with just the Summary: Request And then in the email %Description=Test I keep on getting same error email: AHD58009: Could not create Request. Reason: INVALID - AHD03075: Required attribute is missing. (attribute: z_caller_id object: cr)
  16. Hi All We are getting the folowing error after sending email 11/20 13:43:51.93 sdc1as28 spelsrvr 3788 ERROR pcexec.c 6060 Spell interp failed at text_api.spl:1827:fetch_dob_list | text_api.spl:1676:fetch_dob | text_api.spl:1579:fetch_dob_uuid | text_api.spl:1069:lookup_group | text_api.spl:440:tapi_set_col_attr | cr_chg_text_api.spl:449:text_api::cmd_cr_chg: Arg mismatch in printf or scanf Our email format is %z_caller_id=Wheeler, Mark %group=USD_Admin %urgency=Low %impact=Low %category=BAU Activity.Support Services %description=Test %type=R Subject line: Request
  17. Hi All Just wondering if there are any companies out there using Multi-Site. We are looking at using this feature in the near future and were wondering if there are any gotchas that we need to know about or any experiences you can share. Thanks Wheels
  18. Hi Gityerfix I should have advised in my comments that we have tried adding it first in the list. When we add it to the top it still defaulst to Incident. I have attached screen shots and the code that we have applied. Happy for any ideas to fix. Go_Button_Search.doc
  19. Hi guys Got code working after a few tweaks. Thanks We have 1 question though, how can we get the Requests, Incidents, and Problems to appear as the default selection at the top?
  20. Hi Gityerfix Thanks for that. Yes agreed that it shows last_name+first_name+middle_name, the reason it does not show in our example is that there was no middle name.
  21. I've created a custom field called "Your Manager" in the Change Order web page. The requirement is that this field should only allow selection of contacts where z_chg_manager=1 I did this by creating a factory called zchg_mgr in the cnt object. I have attached the following files showing how I implemented the customisation: usp_contact.sch ca_contact.mod change_request.sch change_request.mod detail_chg.htmpl list_zchg_mgr.htmpl The customisation works except for the fact that when I select a contact in the "Your Manager" field, the value that appears in the field is of the form: Aberca@|@Emilia@|@@|@FF55E295F5364944B946E1EFBC4E21CB@|@Aberca, Emilia When you save the change order, the field correctly contains the value "Aberca, Emilia". Refer to document called your_manager.doc for screenshots of what I described above. My question id why does the field get populated with "Aberca@|@Emilia@|@@|@FF55E295F5364944B946E1EFBC4E21CB@|@Aberca, Emilia" when you first select a value in it? How do I fix this so that the value that displays in the field is "Aberca, Emilia". MANAGER_FIELD.ZIP
  22. Hi all In V6 we had a report for our analyst to show which records they had added themselves to "In-The-Know". This was done using the call_req table joined to the ctct table and the lrel table. In R11 we have found this is now not possible as the changed ca_contact table does not contain the PERSID field. It also becomes more difficult because in MS access when viewing the UUID field it displays as jibberish and is a Binary field. Has anyone been able to create a report using the lrel table and if so how did you get around the UUID.
×
×
  • Create New...