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
Tony RissoneTony Rissone 

URL hacking in light & adding products

So back in classic we where able to prefill filters when adding a product to an opportunity with lightning nuking url hacks we switched to simply using that classic functionality in an iframe. That went the way of the dodo as well but since https://www.salesforceben.com/salesforce-url-hacking-for-lightning-tutorial/ URL hacks are back in lightning has anyone successfully been able to prefill the filters on the new and less capable lightning version of the add product modal?

Really would hate to have to create an entire LWC to replace the entire modal but so far it's looking that way because of the lack of previously aviable classic features. 
ANUTEJANUTEJ (Salesforce Developers) 
Hi Tony,

>> https://www.salesforceben.com/salesforce-url-hacking-for-lightning-tutorial/

The above link mentions a way to implement URL hacking in lightning can you try checking this once?

Let me know if it helps you and close your query by marking it as the best answer so that it can help others in the future.  

Thanks.