You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

In Create Job requisition page under Details section Worker type should be defaulted to Emp page

Summary:

In Create Job requisition page under Details section Worker type should be defaulted to Employee page

Content (please ensure you mask any confidential information):

I wrote the code as "

define([], () => {
  'use strict';
  /**   * Default value expression for Details.WorkerTypeCode    * @param {object} context   * @return {string}   */  function getDetailsWorkerTypeCode(context) {    const { $componentContext, $fields, $modules, $user } = context;
    // Default the worker type to 'employee'    return 'Employee';  }
  return { getDetailsWorkerTypeCode };});

Still not able to see the Employee under Worker type

Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!