You need to sign in to do that
Don't have an account?
Yogesh Biyani
Convert Custom Button with URLs to Lightning acceptable URLs
We have a custom button with the following link
Thank you in advance
Regards,
Yogesh
/006/e?RecordType=012400000009nyy&CF00NG0000008WbYM={!User.Name}&opp3={!Account.Name}&opp4={!Account.Name}&00NG0000009jhg1={!Account.Account_Geo__c}&00NG0000008WbOg={!Account.Account_Region__c}&opp16={!Account.CurrencyIsoCode}&ForecastCategoryName=Pipeline&00NG0000009i7KH=Sales&opp9={!TODAY()+180}&opp11="Prospecting/Qualification"&opp7=5000I am trying to convert it as follows such that the links are valid in Lightning. However, except for the Account, it still prompts to select the record type and the various values are not populated
{!URLFOR($Action.Opportunity.New, Account.Id,[Amount="5000",Name="New Opp for {!Account.Name}", CurrencyIsoCode=TEXT(Account.CurrencyIsoCode), RecordType="012400000009nyv",Stage="Prospecting/Qualification",CloseDate=TODAY()+180])}Can someone tell what is missing?
Thank you in advance
Regards,
Yogesh
In lightning URL hacking is not avialable. If you are trying to create new opportunity from the account page, you have to try using the Actions and select the "Create a Record" to use your functionality
Let me know if you have any other questions
Thanks
Pramodh
allaboutlightning.com
Thanks for the tip. I can indeed us the Account Actions to Create Opportunities.
Yogesh
I have a button for the Case to create an opportunity as follows As there is no action to create an opportunity record from a case I have to use URLFOR. Here is what I am trying but it does not work
Any suggestions?
Yogesh