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

Forum Posts

Resolved! Is there a way to prevent certain catalog items from being ordered?

Hello.I create a new catalog item and operate it on the service portal.However, I don't want the user to order this item.Therefore, I would like to hide the "Order Now" button on the sc_cat_item page and the "Proceed Checkout" button on the sc_cart p...

Ro5 by Tera Expert
  • 2288 Views
  • 10 replies
  • 3 helpfuls

How to insert the record in Import Sets table using script

Hi All, I want to get record using import set and I want to do it using a script, so I have used the below script and its interesting the record but its not processing and pulling the data. Please guide me where i need to change the script. Inserting...

find_real_file.png
ramesh_r by Giga Sage
  • 5656 Views
  • 16 replies
  • 1 helpfuls

Not able to see scripting methods or functions

Hi All, Recently I have upgraded my PDI instance to "Utah" release. Post upgrading I see there are some changes to scripting UI/ editor, one thing I have noticed is when we try to write scripts, system is not displaying any methods/ functions post cr...

Restricting data based on user role and division

I am new to development and am trying to figure the best approach to restrict data access on the goal table to users within their division. Any direction with this would be appreciated.

Community Alums by Community Alums  
  • 986 Views
  • 3 replies
  • 1 helpfuls

Checking users group membership via an acl

Hi, I know the below code is wrong as gs.getUser() refers to the current logged in user. if(gs.getUser().isMemberOf('Group X'))&&(current.sys_created_by.isMemberOf('Group X'))){answer = true;} Basically, is there a way of asking the above in a simple...

Cirrus by Kilo Sage
  • 3076 Views
  • 2 replies
  • 0 helpfuls

How do I remove an attribute from a form field?

Couple questions. #1 - I added an attribute on the Description field within the form for our Freight Internal Case view.  I added "Knowledge Search" so I was able to then be able to search the knowledge base for any related articles off of what is in...