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 97 forks source link

Links don't work in communities #3

Open the-last-byte opened 6 years ago

the-last-byte commented 6 years ago

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

dylangold commented 6 years ago

@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.

MDalt commented 6 years ago

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

tbeary-agleader commented 5 years ago

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?

NikVerse commented 5 years ago

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