Question

Using Resource Attribute data in Custom Fields

  • 4 November 2022
  • 2 replies
  • 71 views

Userlevel 2
Badge +7

Hi

We have made use of Resource Attribute Basic Data, by creating several Resource Attributes with corresponding Resource Attribute Values. We would like to use this in custom fields on our resource, but how could this be done?

We want it to be used as a persistent field, so that we can choose which of the attribute values the user wants. We ideally don't want an Enum, as it would mean two separate value list that both should be maintained, but we can’t get a reference field to work, because all the Resource Attribute Values are in 1 view, as opposed to separate view?

Is this even possible?

Best Regards


2 replies

Badge +1

Define custom fields and their attributes for user and group profiles using the RDEFINE command. Each custom field and its attributes is stored in the CFDEF segment of a general resource profile in the CFIELD class. (For details about naming the CFIELD profiles that define your custom fields, see Profiles in the CFIELD class.

Userlevel 2
Badge +7

@Kristi559J 

Where is this RDEFINE command? 
What do you mean by CFDEF and CFIELD? 

Could you attach a screenshot to show what you mean?

Best Regards

Reply