This error happens in the Modern / New User Experience (MUX). We are seeing this with a custom parameterized lookup attribute on a custom object.
Following are the steps to reproduce this issue:
- Create a sub-object of the Project object
- Navigate to the Modern UX -> Blueprints
- Pick a Blueprint -> Go to Modules
- Display the object created in Step 1. Make note of the Blueprint
- Create a lookup (in the Classic UI. Administration -> Lookups -> New -> Dynamic Query) with the following NSQL:
select
@select:id:id@,
@select:name:nam@,
@select:code:code@
from inv_investments
where @filter@
and id = @where:param:user_def:integer:map_to_project@
- Create a new attribute in the object from Step 1. Make it of data type "Lookup". Use the lookup created in Step 5
- Under section "Lookup Parameter Mappings", provide "odf_parent_id" for "Object Attribute ID"
- Navigate back to the Modern UX. Map any project to the Blueprint from Step 2. Open it and navigate to the sub-object's tab
- Display attribute from step 4 in the list view
- Create a new instance and try to populate the value for the attribute from Step 4
Expected Result: Values are displayed for selection
Actual Result: Following error/warning is thrown:
"One or more parameters 'param_map_to_project' are not API-enabled. You may see unexpected results."
-----------------------------------------------------------------------
If other attributes are used in Step 7, the error will vary. Examples of other parameters that may be referenced in the error:
- param_projectId
- param_inv_id
Note: The following combinations of attribute mapping to a dynamic NSQL are possible:
- @where:param:user_def:integer:param_name@ TO Custom Attribute
- @where:param:user_def:string:param_name@ TO Custom Attribute
- @where:param:user_def:integer:param_name@ TO OOTB Column such as odf_parent_id, created_by etc
- @where:param:user_def:string:param_name@ TO OOTB Column such as name, code etc.
- 1 and 2 work without any problems.
- 3 throws an error/warning.
- 4 does not throw an error, but no values can be selected either.