You need to sign in to do that
Don't have an account?
Rama_SFDC
How to control the record type selection from Quick action in lightning
Hi All ,
I'm creating a record from quick action button (lightning component ) where my target object has 4 record type , when i'm calling the target object it is returning all the record types (using custom lightning component for selecting record type) irrestpective of permission set , but all the record types are controlled by the permisson set .who have the permission set those records types should be display .How can we achive this requirment ?
I'm creating a record from quick action button (lightning component ) where my target object has 4 record type , when i'm calling the target object it is returning all the record types (using custom lightning component for selecting record type) irrestpective of permission set , but all the record types are controlled by the permisson set .who have the permission set those records types should be display .How can we achive this requirment ?
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Schema_RecordTypeInfo.htm
All Answers
http://sfdcfacts.com/apex/record-type-selector-quick-action-in-lightning/
As per above link it will show all the record types irrespective of record type permissions and when try to save record then only showing error message .
is it any option to hide record type selection in initial page ?.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Schema_RecordTypeInfo.htm
This is what i'm expecting . Perfect fix . :)
Cheers !!