SalesforceLabs / EnhancedLightningGrid

Component that allows you to sort and filter data within the Lightning Experience. Use as a replacement for a Related List, or create a new grid that shows results from a custom query.
BSD 3-Clause "New" or "Revised" License
136 stars 96 forks source link

Links not working in Community after Winter 20 update #34

Open andrewmondy opened 4 years ago

andrewmondy commented 4 years ago

Links to records from SDG grid record titles are incorrect. For example, SDG grid Lead links to https://communityname.force.com/s/00Q100000000000001 (Which is broken)

But the built in list view links to https://communityname.force.com/s/lead/00Q100000000000001/firstname-lastname (Which works properly)

Similar with Opportunities, Accounts, etc.

mu-rsd commented 3 years ago

I have the same problem. Are there any possible solutions to this?

Thanks, Max

bacasystems-IT commented 1 year ago

@jgr-salesforce & @andrewmondy & @mu-rsd did you ever get a solution? I'm in the same boat right now

andrewmondy commented 1 year ago

I was able to make a fairly simple workaround. Using a formula field along with HYPERLINK() to make a link with the recordId as a variable, and the name of the record as the label, I could make a link to the record that works.

For Example, on the Lead Object:

HYPERLINK("/s/lead/"& CASESAFEID(Id) , FirstName &" "& LastName, "_self" )

bacasystems-IT commented 1 year ago

Thats funny. Thats exactly what I did.

On Jan 13, 2023, at 3:55 PM, andrewmondy @.**@.>> wrote:

[EXTERNAL]

I was able to make a fairly simple workaround. Using a formula field along with HYPERLINK() to make a link with the recordId as a variable, and the name of the record as the label, I could make a link to the record that works.

For Example, on the Lead Object:

HYPERLINK("/s/lead/"& CASESAFEID(Id) , FirstName &" "& LastName, "_self" )

— Reply to this email directly, view it on GitHubhttps://link.edgepilot.com/s/e3c0ae4f/WG_C6jDK8EyjuwGb3tPI_Q?u=https://github.com/SalesforceLabs/EnhancedLightningGrid/issues/34%23issuecomment-1382376850, or unsubscribehttps://link.edgepilot.com/s/00876681/9vZksXJNBUG-weFUfsY1iQ?u=https://github.com/notifications/unsubscribe-auth/AJ6SW6EELJASLMU4TZAUYSTWSG6MBANCNFSM4JBEMKXA. You are receiving this because you commented.Message ID: @.***>