Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

How to add directive to widget serviceportal

Hi All,I am trying my hands on serviceportal and new to angularjs.I saw a video explaining how to include dependencies in widget. But it is not working.So i am trying to pull data from table and display it and trying to do pagination using 3rd party ...

sam1212 by Mega Expert
  • 13294 Views
  • 28 replies
  • 15 helpfuls

Resolved! UI Action condition not working es expected

Hi All, There is UI Action on problem table "Start Fix" and its out of box condition is: current.canWrite()&&(current.state != ProblemState.STATES.FIX_IN_PROGRESS)&&new ProblemStateUtils().validateStateTransition(current,ProblemState.STATES.FIX_IN_PR...

Ajeet Kumar1 by Mega Contributor
  • 2374 Views
  • 12 replies
  • 2 helpfuls

Resolved! Triggering event via catalog client script

Hello, I have a catalog client script that triggers an event and passes a parameter ('Email address' field) based on conditions when the catalog record producer is submitted. It does not seem to be working, is my code wrong?  Catalog client script fu...

JJG by Kilo Guru
  • 2409 Views
  • 4 replies
  • 0 helpfuls

Problem with Rest Messgae OAuth2 Profile

Hello community, I am setting up a REST Message with one POST method. This should use OAuth2 profile with Grant Type Client Credentials. My URL and credentials are correct. However, when I try to test the REST Method, I am getting following error: Th...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
ceskie by Kilo Guru
  • 2584 Views
  • 1 replies
  • 1 helpfuls

Resolved! How to stop the for loop in client side

Hi,   I have a script include which is returning me with the JSON object, my requirement is if i get atleast one flag as true then i need to throw an error if  not i need to set the server name's received from the server.   [{"flagg":false,"serverNam...

Hiding Attachment using ACL

I wrote this very simple script in both  - sys_attachment (read) and sys_attachment_doc (read). for sys_attachment : answer = getAttachmentReadAnswer();function getAttachmentReadAnswer() { if (current.table_name == 'u_sbm_hr_case' || current.table_na...

Resolved! Email notification and additional comments.

Hello all, Is there a way to trigger email notifications per the amount of Additional Comments? So, if there is 1 additional comment the email notification would say Update 1 and if there is 2 Additional comments, the notification would say Update 2 ...

Maxwell3 by Kilo Guru
  • 3207 Views
  • 12 replies
  • 7 helpfuls

How to Create a custom interactive filter for last 3 year

Hi Guys, I need an interactive filter which will show the last 3 years in the dropdown(2018, 2019, 2020) and based on the filter it will show the number of change ticket created on that particular year.   Any idea of how to create an interactive file...

Pass Data Variable from Server Script to HTML <a href="xxxx"> in Widget

Need Some Help: I'm trying to pull a specific record that is on the User table and place it in a <a href="xxxx"> on the Service Portal.   Below is the code that I have already and where I'm looking to place it. Unfortunately, It's not populating any...

Community Alums by Community Alums  
  • 6015 Views
  • 2 replies
  • 2 helpfuls

change service catalog icons

How does one go about changing the service catalog icons in Dublin? We aren't particularly fond of the icons-of-all-different-widths. I get what they were trying to do, but I don't think they quite succeeded.We would actually be fine just using the d...

limedzeze by Giga Contributor
  • 8984 Views
  • 11 replies
  • 1 helpfuls

Resolved! Finding the last day of the month

Building a billing application with a scheduled job that will build a CSV file. The issue is the call gs.endOfThisMonth(); returns the value in GMT and for our instance it is 6 or 7 am on the 1st depending on Daylight Savings time. Is there an easy w...

ACL for attachments

Hello, I know how to use ACL for tables/fields , but I am asking myself, how do i restrict attachments ? If I want only admin (or any other role)  to see the attachments in a ticket. How do I do that ? Regards