Default custom field values from Resource object to Service Request page for logged in user
Summary:
We have 2 custom field on "Resource" object - Business unit and Branch. These 2 fields are setup in Resource Directory for all users. Now, whenever any user logs in to Fusion application and creates a Service Request, the values of 2 custom fields from Resource object should stamp on Service Request custom fields automatically on Clicking "Create Service Request".
How is this possible in Fusion Service. I tried the below code but it did not work.
— —- Event Listener – vbEnter— —- Action Chain code — —-
define([
'vb/action/actionChain',
'vb/action/actions',
'vb/action/actionUtils',
], (
ActionChain,
Actions,
ActionUtils
) => {
'use strict';
class setDefautBU extends ActionChain {
Tagged:
0