EnhancedLightningGrid icon indicating copy to clipboard operation
EnhancedLightningGrid copied to clipboard

Links don't work in communities

Open the-last-byte opened this issue 6 years ago • 4 comments

There is an issue with the links in Lightning Communities. The link in question is often the "Name" field. For example, when displaying a list of Contacts, the Contact Name column will contain a link to each Contact.

The issue appears to be that the links don't use the "e.force:navigateToSObject" event. They seem to just be url links which don't go to the correct location or even the correct community.

An example link endpoint is "https://mycommunities.force.com/003000000XXXXxxXXX". This not only lacks the community prefix (https://mycommunities.force.com/partners/003000000XXXXxxXXX ), but it can not work in Lightning Communities.

capture

the-last-byte avatar Jun 05 '18 06:06 the-last-byte

@Sand-Piper I've found that this works correctly after installing the unmanaged package from github, but not the managed one in the appexchange. As the appexchange version hasn't been updated since January, it looks like this is fixed, but the managed version isn't updated yet.

dylangold avatar Jun 08 '18 18:06 dylangold

@dylangold Can you point to the unmanaged package here? I don't see it and need this fix.

MDalt avatar Jun 25 '18 12:06 MDalt

Links in Lightning Communities are still broken as of the Sept 2018 release on the AppExchange. Is it possible to install the unmanaged package from github, can you please point to it?

tbeary-agleader avatar Dec 10 '18 22:12 tbeary-agleader

Did below workaround on 9th October 2019 to resolve the issue for now, as still the repository is not updated to have this issue fixed:

In sdgDatagridCell.cmp image

In sdgDatagridCellHelper.js image

In sdg.cmp image

image

Thanks

NikVerse avatar Oct 09 '19 04:10 NikVerse