function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TehNrdTehNrd 

How to show correct Stage values based on Record Type with inputField

When dealing with the opportunity field Stage in a inputField, either through the standard controller or a custom controller, it shows every possible value of the Stage field regardless of record type.

Based on the record type of the opportunity is there any way to controller what stage values are displayed. Ideally in a custom controller but any guidance is appreciated.

Thanks.
jwetzlerjwetzler
Record types are currently not supported by our inputField component.

However it is on the road map so try to sit tight!  We will get to it asap.

Jill
TehNrdTehNrd
I noticed that as I tried to add it to a page and it said unsupported. I understand how this would be more difficult to implement as you navigate away from a page and then come back when changing record type.

But when this feature is release will it drive the correct values for the input Stage field based on the record type of the opp?
jwetzlerjwetzler
We want record types to work exactly the way they work in the app.  So yes, you should expect your picklist to populate based on the record type of your object.

Jill
TehNrdTehNrd
Excellent!

Looking forward to this.
craskulineczcraskulinecz
When will this be implemented as I am running into the same problem?

Thanks,

Chris