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
BB 

How to create new solution button that pre-select record type without URL hacks

I want to replace an URL hack. I found that one of the option is to use a flow.

The button need to bypas which type of solution do you want to choose.
This is the url: 
'/a0A/e?CF00ND0000005pODo={!opp.Name}&CF00ND0000005pODo_lkid={!opp.Id}&retURL=%2F{!opp.Id}&RecordType=012D00000007LTY&Opportunity__c={!opp.Name}&Solution_Country__c={!acc.Country__c}&ent=01ID0000000uXce';

I know how to use flow in order to get the  information from oppportunity and account but not how to oppen that specific record type and entitiy from flow.

Any ideas how to solve this ? 



 
BB
Also i want the record type to be prepopulated with the values from opportunity and account
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Please refer to the below link which might help you further with the above requirement.

https://jenwlee.wordpress.com/2018/04/24/create-a-new-opportunity-from-a-quick-action-w-specific-record-type-based-on-the-users-profile/

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
BB
Hello,

I already seen this and is not helping me :) . Thanks for trying.

Rgrds,
B